当前位置:   article > 正文

tomcat lib mysql_向lib中添加了mysql jar,但仍然无法通过本地intelliJ在tomcat上本地部署时遇到类异常?...

tomcat msyql jar

bd96500e110b49cbb3cd949968f18be7.png

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/

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/618426
推荐阅读
相关标签
  

闽ICP备14008679号