小编Gui*_*ont的帖子

嵌套异常是java.lang.NoClassDefFoundError:org/hibernate/ejb/HibernatePersistence

我正在尝试使用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)

spring weblogic

6
推荐指数
1
解决办法
4万
查看次数

从Eclipse中的历史记录视图中删除ORIG_HEAD和FETCH_HEAD

我最近开始使用带有EGit插件的Eclipse Kepler,这些分支不是我习惯的.有没有办法永久阻止这些分支被创建?我尝试手动删除它们,但它不起作用,我不想在下次我提取或重新设置时使用它们.

eclipse git egit

5
推荐指数
1
解决办法
3396
查看次数

标签 统计

eclipse ×1

egit ×1

git ×1

spring ×1

weblogic ×1