Execution failed for task ':bootJarMainClassName' ⚒️

Jimin Lim·2022년 5월 13일
0

Spring

목록 보기
1/18
post-thumbnail

Execution failed for task ':bootJarMainClassName'.
> Unable to find a single main class from the following candidates 

main class가 하나가 아닐때 나는 오류였다.

build.gradle에 아래와 같이 main class를 지정해주면 된다.

springBoot {
	mainClass =  'com.tickettogether.TickettogetherApplication'
}
profile
💻 ☕️ 🏝 🍑 🍹 🏊‍♀️

0개의 댓글