例如:org.hibernate.MappingException: Could not determine type for: java.util.List, at table: xxxx, for columns: [org.hibernate.mapping.Column(xxx)]
经过排查发现,配置文件是从其他地方复制过来的,没有使用JPA,但是pom文件中添加了
spring-boot-starter-data,忘记删除导致。
在pom配置文件中删除即可。
例如:org.hibernate.MappingException: Could not determine type for: java.util.List, at table: xxxx, for columns: [org.hibernate.mapping.Column(xxx)]
经过排查发现,配置文件是从其他地方复制过来的,没有使用JPA,但是pom文件中添加了
spring-boot-starter-data,忘记删除导致。
在pom配置文件中删除即可。