`
antti
  • 浏览: 65824 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

A web application registered the JBDC driver [com.mysql.jdbc.Driver] but failed

阅读更多
tomcat 6.0.33启动时,报错

he web application [/aaa] registered the JDBC driver [com.ibm.db2.jcc.DB2Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

在网上搜索得知,一般是项目应用到了SSH组合会出这种问题,多半是Hibernate版本问题。

原因是Hibernate3.2.3已经包含hibernate-annotations-3.2.1.GA.jar,错误在于我重新加入了Annotation.jar等jar文件 ,一般如果用集成开发环境,如Eclipse,MyEclipse等,他会自带有hibernate等框架的jar包,如果我们自己再加入相同的框架(但版本不同)的jar包,就容易引起冲突
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics