spring4+hibernate4+struts2:启动tomcat报错:nested exception is java.lang.AbstractMethodError
严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclassorg.springframewor...
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryMy' defined in class path resource [spring-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactoryMy' defined in class path resource [spring-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.AbstractMethodError 展开
2015-04-20
展开全部
: Error creating bean with name 'sessionFactoryMy' defined in class path
resource [spring-hibernate.xml]: Invocation of init method failed;
nested exception is java.lang.AbstractMethodError
数据库的配置,有问题
resource [spring-hibernate.xml]: Invocation of init method failed;
nested exception is java.lang.AbstractMethodError
数据库的配置,有问题
追问
数据库配置是没有问题的,我去官网复制的代码,当然不会有问题。这个异常是jdk报的,jdk原话是不兼容问题,我最后用排除法,发现是5.0.0.Beta1相关jar中有冲突的,hibernate-envers这个冲突了
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询