我正在尝试使用Hibernate 4作为持久性提供程序配置Spring 3.2,JPA 2.0.当我尝试在Weblogic 10.3.5中部署应用程序时,出现以下错误(由于大小而缩写):
<Jun 11, 2013 1:04:51 PM EDT> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/spring-config.xml]: Cannot create inner bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#ade8fd6' of type [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] while setting bean property 'jpaVendorAdapter'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#ade8fd6' defined in ServletContext resource [/WEB-INF/spring/spring-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence
at …
Run Code Online (Sandbox Code Playgroud) 我最近开始使用带有EGit插件的Eclipse Kepler,这些分支不是我习惯的.有没有办法永久阻止这些分支被创建?我尝试手动删除它们,但它不起作用,我不想在下次我提取或重新设置时使用它们.