Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

NoClassDefFoundError (no replies)

$
0
0
I am connecting to MySQL JDBC from Java. When I am running under Tomcat, things are fine. When I am executing the same code in a Main class under IDEA, I am getting NoClassDefFoundError when the following code is being executed:
lclsDBDriver = Class.forName(lstrDBDriver);

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>