打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
spring roo :Error creating bean with name 'entityManagerFactory'
2011-06-06 08:42:55,343 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager'
defined in file [F:\install\Java EE相关程序、资料
\springsource\tc-server-developer-2.1.1.RELEASE\
spring-insight-instance\wtpwebapps\realestateExchage
\WEB-INF\classes\META-INF\spring\
applicationContext.xml]:
Cannot resolve reference to bean 'entityManagerFactory'
while setting bean property 'entityManagerFactory';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'entityManagerFactory'
defined in file [F:\install\Java EE相关程序、资料\springsource\tc-server-developer-2.1.1.RELEASE
\spring-insight-instance\wtpwebapps\realestateExchage\WEB-INF\classes\META-INF\spring\applicationContext.xml]:
Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: persistenceUnit] Unable to build EntityManagerFactory
 
也没有做什么,就是进去persistent.xml打了几个回车保存,再发布就可以了
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
JPA整合spring之spring.xml配置文件
Error creating bean with name 'customerService': Injection of resource dependencies failed;
eclipse搭建SSH框架详解
Spring2.5、Struts2、Ibatis开发框架搭建 技术 网街
关于数据库中主键自增长问题:Error creating bean with name 'entityManagerFactory' defined in class path
Spring——集成JPA
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服