Spring Boot 入门问题集合
来源:互联网 发布:如何收藏淘宝店铺 编辑:程序博客网 时间:2024/06/11 23:44
问题:从start.spring.io导出的入门demo,引入到sts中并不好用下面是错误日志。
main] i.a.hellospringboot.CourseApiApp : Starting CourseApiApp on johndoe-MacBook-Pro.local with PID 22730 (/Users/johndoe/Documents/workspace-sts-3.8.4.RELEASE/com.myapp.hello-spring-boot/target/classes started by john doe in /Users/johndoe/Documents/workspace-sts-3.8.4.RELEASE/com.myapp.hello-spring-boot)2017-05-02 21:28:29.454 INFO 22730 --- [ main] i.a.hellospringboot.CourseApiApp : No active profile set, falling back to default profiles: default2017-05-02 21:28:29.552 INFO 22730 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@5427c60c: startup date [Tue May 02 21:28:29 CDT 2017]; root of context hierarchy2017-05-02 21:28:30.838 INFO 22730 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup2017-05-02 21:28:30.917 INFO 22730 --- [ main] i.a.hellospringboot.CourseApiApp : Started CourseApiApp in 2.122 seconds (JVM running for 2.614)2017-05-02 21:28:30.919 INFO 22730 --- [ Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@5427c60c: startup date [Tue May 02 21:28:29 CDT 2017]; root of context hierarchy2017-05-02 21:28:30.920 INFO 22730 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown
解决方案:
1.添加web依赖
2.添加tomcat依赖
3.清理maven仓库中的冲突的依赖
mvn dependency:purge-local-repository
阅读全文
0 0
- Spring Boot 入门问题集合
- 【Spring Boot】Spring Boot 入门
- Spring Boot 快速入门
- spring boot 入门
- Spring Boot 入门
- Spring Boot 入门
- spring boot简易入门
- Spring boot入门
- Spring Boot 快速入门
- Spring boot快速入门
- Spring boot 入门 实例
- Spring Boot 快速入门
- spring boot入门(一)
- spring boot入门例
- Spring Boot入门例子
- spring boot 入门
- Spring Boot入门
- Spring Boot 快速入门
- 数据查询的排列显示
- Windows Install How-to
- 变态跳台阶
- 免安装mysql 5.7.16 数据库操作步骤
- python中zip()函数的用法
- Spring Boot 入门问题集合
- redis DB 使用,包含客户端与jedis
- 自由浮动与总浮动
- 布局管理器
- HDU 5515 Game of Flying Circus
- systemctl 常用命令备忘
- android 横竖屏幕切换
- Mybatis Plugin插件安装破解及使用
- CONCAT函数的介绍及mybatis 中模糊查询