![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
码浪
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalArgumentException: Not an managed type:
一、思考方式故事是这样的,昨天领导遇到了一个很奇怪的bug,正常使用spring boot项目,通过Jpa默认方法链接数据库时,在dao层不能找到entity类:java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.Defaul...原创 2019-09-03 09:59:47 · 4944 阅读 · 0 评论 -
spring boot多数据源配置示例
spring boot多数据源配置1.application.propertiesspring.datasource.url = jdbc\:oracle\:thin\:@192.168.3.888\:1521\:orclspring.datasource.username = spring.datasource.password = spring.datasource.driverCl...原创 2019-09-03 13:47:57 · 278 阅读 · 0 评论