빌드하고 실행하기, 빌드 오류
794
작성한 질문수 1
안녕하세요
build시에 해당 오류가 발생합니다. 구글링해도 잘 안나오네요 ㅠㅠ 자바 버전은 1.8로 다 맞춰준 것 같은데 안되네요...
intellj에서 실행이랑 웹 페이지까지 다 따는데
cmd에서 빌드할 때 안되는건 왜 그런건가요?
참고로 강사님과 똑같이 ./gradlew build라고 하면 안되고 gradlew build라고 해야 빌드가 됩니다..

답변 2
0
안녕하세요. 버전 동일하게 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'.
..
0
76
2
Unused property.....
0
99
2
project JDK is misconfigured
0
132
2
외부 API의 ID 타입(String/UUID)과 내부 도메인의 ID 타입(Long)이 불일치할 때의 설계 정석
0
82
2
단위/통합 테스트 버전충돌 문제
0
91
2
❗️springboot 4.0.2 버전 aspectj dependency 설정❗️
0
230
1
왜 컨트롤러는 변한게 없는데 새로 만든 html 파일이 뜨나요?
0
103
2
윈도우 build test오류 질문
1
102
2
테스트 관련 공부에 대한 조언을 얻고 싶습니다
0
99
2
테스트 실행 시 에러 질문
0
291
1
name을 통한 비교와 객체를 통한 비교
0
77
1
빌드 후 libs 없음
1
129
1
윈도우 gradlew.bat 에러
0
167
1
@PostMapping("/members/new")가 동작하지 않습니다
0
88
1
java static class와 kotlin class
0
79
1
스프링 DB연결
0
126
1
소요 시간
0
85
2
ddl.sql에 빨간 밑줄
1
101
2
welcome page 에러
0
181
3
잘 모르겠습니다.
0
164
2
fail을 똑같이 쳤는데 오류가 발생해요
0
156
2
index.html Welcome page
0
121
1
프로젝트 gradle-groovy ?
0
369
1
테스트코드 메서드명 한글
0
202
2






