亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

生成不了。。??

2017-04-04?21:25:18.569??INFO?11104?---?[???????????main]?org.hibernate.dialect.Dialect????????????:?HHH000400:?Using?dialect:?org.hibernate.dialect.MySQL5Dialect
2017-04-04?21:25:18.755??WARN?11104?---?[???????????main]?ationConfigEmbeddedWebApplicationContext?:?Exception?encountered?during?context?initialization?-?cancelling?refresh?attempt:?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-04-04?21:25:18.760??INFO?11104?---?[???????????main]?o.apache.catalina.core.StandardService???:?Stopping?service?Tomcat
2017-04-04?21:25:18.770??INFO?11104?---?[???????????main]?utoConfigurationReportLoggingInitializer?:?

Error?starting?ApplicationContext.?To?display?the?auto-configuration?report?re-run?your?application?with?'debug'?enabled.
2017-04-04?21:25:18.780?ERROR?11104?---?[???????????main]?o.s.boot.SpringApplication???????????????:?Application?startup?failed

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
	at?org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)?~[spring-beans-4.3.7.RELEASE.jar:4.3.7.RELEASE]
	at?org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)?~[spring-beans-4.3.7.RELEASE.jar:4.3.7.RELEASE]


正在回答

1 回答

No?identifier?specified?for?entity:?com.example.Gril

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消
2小時學會Spring Boot
  • 參與學習       151526    人
  • 解答問題       1132    個

Spring Boot入門視頻教程,你將學會使用Spring Boot快速構建應用程序

進入課程

生成不了。。??

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號