-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
빌드 질문입니다.
21.06.04 19:51 작성 조회수 674
0
C:\Users\cyh12\Downloads\hello>gradlew build
> Task :generateAot FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateAot'.
> Could not generate spring.factories source code
* 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 9s
3 actionable tasks: 2 executed, 1 up-to-date
gradlew build 시 이렇게 나오는데 정상인건가여?
stacktrace 뒤에 붙이고 실행해도 같은 에러 발생하네요..
답변을 작성해보세요.
0
Solioquies
질문자2021.06.04
혹시 이러면 성공인건가요.? 윈도우 기반 노트북에서는 안 됐는데 똑같이 조건에 같은 윈도우 기반 데스크탑에서 하니까 successful이랑 저렇게 나오네요. build.gradle에 문제가 있던건가요?
김영한
지식공유자2021.06.06
Solioquies님 마지막은 성공이 맞습니다.
저도 정확한 원인은 모르겠지만
자바 버전이 JDK11로 정상 설치되어 있는지 확인해주세요.
java -version, javac -version으로 확인할 수 있습니다.
0
Solioquies
질문자2021.06.04
plugins {
id 'org.springframework.boot' version '2.5.0'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'hello'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
입니다. 만들떄 인텔리제이 프로에서 만들고 강의 따라했습니다.
0
답변 3