java.lang.ClassNotFoundException: com.mysql.jdbc.driver 1、有些人说一定要将mysql-connector-java-5.1.41.jar拷贝到tomcat下lib文件夹内。 2、 注意下图: