![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
Emily 若
这个作者很懒,什么都没留下…
展开
-
SpringBoot application.yml文件 com.mysql.jdbc.Driver找不到包
IntelliJ IDEA 新建SpringBoot项目时,配置application.yml 时 com.mysql.jdbc.Driver一直报红,找不到jar包,但是我明明已经在pom.xml导入了解决:File - Project Structure - Larbraries 找到mysql-connector-java驱动包删除,重新导入即可...原创 2019-09-06 16:00:54 · 2199 阅读 · 0 评论 -
SpringBoot application.yml文件 server.context-path报错
IntelliJ IDEA 新建SpringBoot项目时,配置application.yml 时 server.context-path报错原因是版本问题,更新为server.servlet.context-path 即可原创 2019-09-06 16:21:50 · 1289 阅读 · 0 评论 -
SpringBoot 测试时报错 Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is
SpringBoot 测试时报错 Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of th...原创 2019-09-06 16:57:59 · 215 阅读 · 0 评论 -
org.hibernate.LazyInitializationException: could not initialize proxy [com.imooc.sell.dataobject.Pro
Springboot 启动时 org.hibernate.LazyInitializationException: could not initialize proxy [com.imooc.sell.dataobject.ProductCategory#1] - no Session将实体类增加注解 @Proxy(lazy = false)原创 2019-09-09 14:51:24 · 310 阅读 · 0 评论