SpringBoot启动报错 ApplicationStartingEvent,刚入门使用springboot
2018-03-05 17:03
1846 查看
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/boot/context/event/ApplicationStartingEvent
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:44)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100)
at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:277)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
at com.home.beauty.Application.main(Application.java:50)
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.event.ApplicationStartingEvent
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 9 more
Process finished with exit code 1
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:44)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:100)
at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:277)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:957)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:946)
at com.home.beauty.Application.main(Application.java:50)
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.event.ApplicationStartingEvent
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 9 more
Process finished with exit code 1
相关文章推荐
- springboot学习之启动类中的@SpringBootApplication注解
- 004-Spring boot 快速入门-项目搭建与启动、SpringBootApplication
- SpringBoot内部配置:“application.properties配置”和”使用XML配置”,读取属性文件中的内容,日志配置,Profile配置(学习:SpringBoot实战)
- SpringBoot入门-13(springboot配置使用YML)
- SpringBoot入门-15(springboot配置freemarker使用YML)
- springboot入门(三)-- springboot集成mybatis及mybatis generator工具使用
- spring boot-1.4.2 jar启动使用外部application.properties
- Spring Boot 使用JSP入门 内嵌Tomcat启动
- SpringBoot入门之如何启动SpringBoot
- SpringBoot系列三:SpringBoot基本概念(统一父 pom 管理、SpringBoot 代码测试、启动注解分析、配置访问路径、使用内置对象、项目打包发布)
- springboot war放入tomcat启动怎么指定使用外部application.properties
- springboot入门---入口类注解@SpringBootApplication解析
- SpringBoot入门系列篇(四):使用SpringBoot创建定时任务
- SpringBoot启动失败:Error starting ApplicationContext.
- 学习cassandra(1)入门,使用场景(写多读少)和搭建启动使用,整合Spring boot
- springboot入门一,使用myEclipse新建一个springboot项目
- springboot使用Application启动失败,bootrun启动成功
- spring-boot启动报错【This application has no explicit mapping for /error.....】
- spring boot 使用application.properties 进行外部配置
- spring boot 使用application.properties 进行外部配置