인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

line__12님의 프로필 이미지
line__12

작성한 질문수

스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술

intllij를 깔고 처음 시작했습니다! 기본도 하나 모르는 초보자라서 질문드립니다!

작성

·

183

0

인텔리제이를 열고 처음에 hellospringapplication을 누르고 public class HelloSpringApplication {

을 실행 했는데

FAILURE: Build failed with an exception.

 

* Where:

Build file 'C:\�ڵ�\hello-spring\build.gradle' line: 9

 

* What went wrong:

A problem occurred evaluating root project 'hello-spring'.

> Could not get unknown property 'e' for root project 'hello-spring' of type org.gradle.api.Project.

 

* 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 1s

 

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

 

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

 

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

오후 12:08:02: Task execution finished ':HelloSpringApplication.main()'.

 

라 뜨면서 오류가 나옵니다!

어떻게 해결해야할까요?

답변 1

0

안녕하세요, line__12 님. 공식 서포터즈 codesweaver 입니다.
.
/builde.gradle 파일에 오탈자가 있는지 확인해주세요.

해당 파일을 수정한 이후에 인텔리제이 우측 상단에 코끼리 아이콘이 뜰 경우 해당 아이콘을 클릭해서 gradle이 다시 빌드될때까지 기다려 주세요.

그 이후에 main 메서드를 다시 실행해보시기 바랍니다.

.

혹시 해결이 되지 않으실 경우, 전체 코드를 구글 드라이브에 업로드 하신 후 공유해주시기 바랍니다..
감사합니다.

line__12님의 프로필 이미지
line__12

작성한 질문수

질문하기