第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

生成不了表

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


正在回答

3 回答

@Id 的注解 從包 ?

org.springframework.data.annotation.Id;

變?yōu)榘?/p>

javax.persistence.Id;

就可以解決了

0 回復(fù) 有任何疑惑可以回復(fù)我~

解決了,是應(yīng)該包不對(duì)

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

慕數(shù)據(jù)0685613

我也是這個(gè)錯(cuò)誤,請(qǐng)問怎么解決的
2017-08-11 回復(fù) 有任何疑惑可以回復(fù)我~
#2

54513 回復(fù) 慕數(shù)據(jù)0685613

@Id 的注?解 從包 org.springframework.data.annotation.Id; 變?yōu)榘? javax.persistence.Id; ?就可以解決了
2017-08-27 回復(fù) 有任何疑惑可以回復(fù)我~

查看一下你的實(shí)體類,是否添加了主鍵Id的注解:No?identifier?specified?for?entity

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
2小時(shí)學(xué)會(huì)Spring Boot
  • 參與學(xué)習(xí)       151527    人
  • 解答問題       1132    個(gè)

Spring Boot入門視頻教程,你將學(xué)會(huì)使用Spring Boot快速構(gòu)建應(yīng)用程序

進(jìn)入課程
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)