平台默认的用的tomcat6的版本,升级为tomcat后需要要连接sqlserver数据库,并且已经参考升级tomcat8报错apache-tomcat\lib\jcifs.jar (系统找不到指定的文件。)中的说明替换了新的sqlserver驱动后,还会报如下的错误: Caused by: java.lang.AbstractMethodError at org.apache.tomcat.dbcp.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:924) at org.apache.tomcat.dbcp.dbcp2.PoolableConnection.validate(PoolableConnection.java:282) at org.apache.tomcat.dbcp.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:364) at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2355) at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2338) at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2067) at org.apache.tomcat.dbcp.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1543) at com.justep.system.data.Transaction.getConnectionWithJndi(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.model.ModelUtils.getConnection(Unknown Source) 这个错误是tomcat的DBCP (数据库连接池) [...]
tomcat连接oracle报错,升级tomcat8连接sqlserver数据库运行报错
最新推荐文章于 2021-11-05 16:39:18 发布