跪求!spring boot 项目运行报错

使用IDEA创建的springboot项目,目前是空项目,运行DemoApplication文件的时候,出现如下错误:
2019-05-1617:36:41.215INFO22276---[main]springboot02.demo.DemoApplication:StartingDemoApplicationonlijinxiadeMacBook-Pro.localwithPID22276(/data/yx/javacode/spring-boot-samples-master/demo/target/classesstartedbylijinxiain/data/yx/javacode/spring-boot-samples-master/demo)2019-05-1617:36:41.217INFO22276---[main]springboot02.demo.DemoApplication:Noactiveprofileset,fallingbacktodefaultprofiles:default2019-05-1617:36:42.118INFO22276---[main]springboot02.demo.DemoApplication:StartedDemoApplicationin16.227seconds(JVMrunningfor21.986)
application.properties文件是空的pom.xml文件的内容:xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.1.5.RELEASE
springboot02
demo
0.0.1-SNAPSHOT
demo
DemoprojectforSpringBoot
1.8
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-maven-plugin
那这样看的话,是哪里出了问题那?
浮云间
浏览 496回答 2
2回答

慕沐林林

Noactiveprofileset,fallingbacktodefaultprofiles:default这行么??这行是INFO级别,不是错误。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript