인프런 커뮤니티 질문&답변
graldw clean build 오류가 발생합니다..ㅜ
작성
·
1K
0
제가 작성한 코드가 잘못된 것같아서
복붙을 해서 해봤는데도 똑같은현상이 나타나는것 같아서 질문드립니다..ㅜ
gradlew clean build
> Task :compileJava FAILED
D:\spring_data\jpashop_test\src\main\java\com\example\jpashop_test\MemberRepository.java:14: error: cannot find symbol
return member.getId();
^
symbol: method getId()
location: variable member of type Member
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
2 actionable tasks: 2 executed
답변 1
1





