摘要: springboot 就是为简化spring的创建 配置 部署 运行 而创建的。 springboot 直接引入依赖jar包 就行了,无须配置xml 一 创建springboot 1.创建一个maven项目 2.引入springboot的依赖jar包 3.配置springboot的引导类 引导类不能 阅读全文
posted @ 2019-03-27 14:31 河清海晏 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 有一个警告 :** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package. 原因 Application不能直接放在src/main/java下 阅读全文
posted @ 2019-03-27 13:45 河清海晏 阅读(151) 评论(0) 推荐(0) 编辑