JAVA Spring boot Process finished with exit code 0

JAVA Spring boot Process finished with exit code 0

原因:
检查配置文件是否引入spring-boot-starter-web配置依赖
问题解决:

1.maven:

pom引入


	org.springframework.boot
	spring-boot-starter-web

2.gradle:

build.gradle引入

 implementation 'org.springframework.boot:spring-boot-starter-web'

你可能感兴趣的:(Java,java,spring,boot,开发语言)