Today changed a computer reconfigure the environment to debug the old program when there is a link database error java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDriver hint.
Check the database connection for errors, and the previous program is ready to run. The Classes12.jar and Ojdbc14.jar files are missing from the found Lib directory after viewing in the Tomcat run directory.
However, the build path has been added to eclipse and MyEclipse, and it is not possible to clean up the compilation manually, which will run normally after the file copy is missing.
It is also possible to manually add the Lib directory and join the jar file in Eclipse and MyEclipse, but it is inconvenient and inconvenient to adjust later. After the query, in fact, very simple. Just select Project, then select Properties and Find deployment assembly select the libraries or jar you want to add to the build path.
Eclipse introduces an external jar that is not automatically brought in when publishing, resulting in a classnofound error