![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
皓空揽月
山不厌高,水不厌深。周公吐脯,天下归心。
展开
-
Ambiguous mapping. Cannot map ‘bsIndex‘ method解决方案(JPA)
问题:解决方法:接口映射冲突,修改重复的映射,@GetMapping(value = "/info")原创 2021-11-13 17:50:02 · 336 阅读 · 0 评论 -
Composite-id class must implement Serializable: com.hndist.industry.jpa.primary.entity解决方案(JPA)
解决方法:意思是复合主键的类,必须实现序列化public class BsIndex implements Serializable{ private static final long serialVersionUID = 1L; }原创 2021-11-13 17:37:05 · 377 阅读 · 0 评论 -
Could not determine type for: java.util.List, at table 项目启动报这种错误的解决方案(JPA)
解决方法:注解要么写在字段上,要么写在get方法上,千万不能混合使用,否则会报这个错误转载 2021-11-13 17:18:25 · 1366 阅读 · 0 评论