最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

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

是架包沖突嗎

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister


正在回答

2 回答

因?yàn)閟pring在3.1之后的版本中把 AnnotationSessionFactoryBean與LocalSessionFactoryBean集成到了一起,統(tǒng)一用org\springframework\orm\hibernate4\LocalSessionFactoryBean。?不再有AnnotationSessionFactoryBean類;?但是org.springframework.orm-3.1.1.RELEASE.jar 依然保留有org\springframework\orm\hibernate3這個包,這是為了向下兼容。所以改成hibernate4即可!

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

我也報(bào)了這個錯誤,也在網(wǎng)上查過,感覺有八成是各個bean里的書寫錯誤。仔細(xì)排查可能會找到

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

舉報(bào)

0/150
提交
取消

是架包沖突嗎

我要回答 關(guān)注問題
微信客服

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

幫助反饋 APP下載

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

公眾號

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