Hibernate3.3.2和jconn2.jar驱动报错java.lang.AbstractMethodError: supportsGetGeneratedKeys

Hibernate3.3.2和jconn2.jar驱动报错java.lang.AbstractMethodError: supportsGetGeneratedKeys

Invocation of init method failed; nested exception is java.lang.AbstractMethodError: supportsGetGeneratedKeys
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
Truncated. see log file for complete stacktrace

解决办法
使用Hibernate3.3.1+jconn2.jar组合
或者使用Hibernate3.3.2+jconn3.jar组合

文章的脚注信息由WordPress的wp-posturl插件自动生成

此条目发表在javaee分类目录,贴了, , , , 标签。将固定链接加入收藏夹。

发表评论

电子邮件地址不会被公开。 必填项已用*标注

评论链接可以 移除 nofollow.