当前位置: 代码迷 >> J2EE >> SSH整合的时候出现有关问题
  详细解决方案

SSH整合的时候出现有关问题

热度:86   发布时间:2016-04-22 01:29:53.0
SSH整合的时候出现问题
部署到tomcat的时候
 java.lang.ClassCastException: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider cannot be cast to org.hibernate.service.jdbc.connections.spi.ConnectionProvider

The web application [/SSHXml] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
第一次整合怎么就出现这种问题呢

------解决方案--------------------
原来这样啊
  相关解决方案