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打了几个回车保存,再发布就可以了
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。