-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
빌드하고 실행하기, 빌드 오류
22.12.08 17:00 작성 22.12.08 17:17 수정 조회수 471
0
안녕하세요
build시에 해당 오류가 발생합니다. 구글링해도 잘 안나오네요 ㅠㅠ 자바 버전은 1.8로 다 맞춰준 것 같은데 안되네요...
intellj에서 실행이랑 웹 페이지까지 다 따는데
cmd에서 빌드할 때 안되는건 왜 그런건가요?
참고로 강사님과 똑같이 ./gradlew build라고 하면 안되고 gradlew build라고 해야 빌드가 됩니다..
답변을 작성해보세요.
0
judy
질문자2022.12.19
안녕하세요. 버전 동일하게 11로 맞추고 다시 빌드 진행해봤는데요
이번에는 인텔리제이에서도 실행이 안됩니다.. ㅠㅠ
에러메시지가 Cause: error: no source files 로 떠요
오전 11:13:44: Executing task ':classes'...
Starting Gradle Daemon...
Gradle Daemon started in 3 s 372 ms
> Task :compileJava FAILED
1 actionable task: 1 executed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> error: no source files
* 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 4m 33s
오전 11:18:25: Task execution finished ':classes'.
답변 2