![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
森木破
这个作者很懒,什么都没留下…
展开
-
ERROR [ main] o.s.boot.SpringApplication : Application run failed No identifier specified for entity
问题描述:Java实体类建表环境:IntelliJ IDEA,Spring Boot,Hibernate,MySQL项目运行报错显示错误信息为:No identifier specified for entity解决方法:网上搜了许多是说没有在getId()前加:@Id@GeneratedValue(strategy= GenerationType.AUTO)但是我是加了的,而且主...原创 2018-11-15 16:31:10 · 6829 阅读 · 0 评论 -
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdb
IDEA启动Spring Boot项目报如下错误: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 load...原创 2019-03-03 16:26:28 · 244 阅读 · 0 评论