生成不了表
org.springframework.beans.factory.BeanCreationException:?Error?creating?bean?with?name?'entityManagerFactory'?defined?in?class?path?resource?[org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]:?Invocation?of?init?method?failed;?nested?exception?is?org.hibernate.AnnotationException:?No?identifier?specified?for?entity:?com.example.Gril
2017-08-27
@Id 的注解 從包 ?
變?yōu)榘?/p>
就可以解決了
2017-04-09
解決了,是應(yīng)該包不對(duì)
2017-04-05
查看一下你的實(shí)體類,是否添加了主鍵Id的注解:No?identifier?specified?for?entity