강의

멘토링

커뮤니티

Inflearn Community Q&A

hanjuni8577278's profile image
hanjuni8577278

asked

Spring Introduction: Learning by Example (Revised Edition)

Project Settings

PetClinicApplication() 함수에서 run 을 하고 싶습니다...

Written on

·

515

0

영상에서 나온대로

spring-petclinic\src\main\java\org\springframework\samples\petclinic\PetClinicApplication.java

해당 경로에서 프로젝트를 실행시키고 싶은데 영상에서 나온것과는 달리 아예 초록색 실행버튼이 뜨지 않습니다... 혹시 빌드가 되지 않아서 이런줄 알고 빌드도 다시해보고 인텔리제이 자체를 재실행해보기도 했지만 여전히 main 함수로는 실행할 수 없었습니다...

어떻게 해결하는 것이 좋을까요..?

현재 사용하고 있는 것은

jdk-17.0.5 사용하고 있습니다.

 

 

★ java -jar target/*.jar 로 실행하는 것은 아주 잘 됩니다 :)

javaspring

Answer

This question is waiting for answers
Be the first to answer!
hanjuni8577278's profile image
hanjuni8577278

asked

Ask a question