All the configurations have been completed, and the server under eclipse can run. When the *. War package is output, it cannot run.
Jdbcexceptionreporter cannot load JDBC Driver Class ...... Error
After checking online, we can see that a similar error is successfully solved. The content is as follows:
Org. springframework. JDBC. cannotgetjdbcconnectionexception: cocould not get JDBC connection; Nested exception is Org. apache. tomcat. DBCP. DBCP. sqlnestedexception: cannot load JDBC Driver Class 'oracle. JDBC. driver. oracledriver'
Org. Apache. tomcat. DBCP. DBCP. sqlnestedexception: cannot load JDBC Driver Class 'oracle. JDBC. Driver. oracledriver'
At org. Apache. tomcat. DBCP. DBCP. basicdatasource. createdatasource (basicdatasource. Java: 1136)
At org. Apache. tomcat. DBCP. DBCP. basicdatasource. getconnection (basicdatasource. Java: 880)
Since Oracle 9.2, the name of the JDBC driver will change, and the driver name of JDK (class12.jar) will not change, all changes to the driver name starting from jdk1.4. For example, the driver name of jdk1.4 is ojdbc14.jar. The jdk1.5 driver is named ojdbc15.jar.
The cause of my error is that ojdbc14.jar is placed under the Lib package of the application and should be placed under the Lib under the common of Tomcat to avoid this problem.