** WARNING ** : Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
2018-01-03 14:23
906 查看
提示说的比较清楚,由于@ComponentScan放在了默认包下导致ApplicationContext无法启动。
Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$JdbcTemplateConfiguration due to internal class not found. This can happen if you are @ComponentScanning a
springframework package (e.g. if you put a @ComponentScan in the default package by mistake)
自己在默认的src/main/java下边再创建一个包,使用到注解的类放到自己的包下,可以正常启动。
相关文章推荐
- springboot的启动Your ApplicationContext is unlikely to start due to a @ComponentScan of the default pac
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- springBoot启动错误 Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Springboot启动报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default p
- spring boot 报错:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- 解决错误:Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- Java问题解决:springboot启动出现-Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Your ApplicationContext is unlikely to start due to a @ComponentScan of the default
- springboot警告:ApplicationContext is unlikely to start due to a @ComponentScan of the default package
- Your ApplicationContext is unlikely to start due to
- The call to LoadLibrary(YourExtensionName) failed, Win32 error 0n14001, “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”
- http://url is already routed to the Default zone of another application. Remove that mapping or use a different URL
- How can I set the background of UITableView (the tableview style is "Grouped") to use an image?