赞
踩
Throughout my application I want to add the username and password to database when a user registers and clicks on "sign up" through servlet2.java but on local tomcat deployment instead of adding data to database class not found exception is thrown, I have already added mysql jar to lib but still no benefit. Here is the downloadable link to my project. If anybody can please help correcting the issue.
Here is the full stack trace.
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1363)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1186)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。