By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Omkar Frozen 4 By using our site, you acknowledge that you have read and understand our Cookie Policy , Privacy Policy , and our Terms of Service. In IntelliJ Do as they say in eclipse “If you’re facing this problem with Eclipse, I’ve been following many different solutions but the one that worked for me is this:. Pascal Thivent k From the right panel, select Deployment Assembly.

Uploader: Samudal
Date Added: 4 May 2011
File Size: 13.82 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 83467
Price: Free* [*Free Regsitration Required]

I’ve already put my driver– mysql-connector-java I have the same problem but I found this after a long search: Works like a charm! If you get this error when you are java.lanv.classnotfoundexception it, then probably its because you have not included mysql-connector JAR file to your webserver’s lib folder.

If doesn’t works try with any of the solutions posted in this link: Ranjith Sekar 1, 7 A big upside is that you you can more the project to another machine and not have to worry about or forget to set this up again.


The most common cause is that you have some conflict in where your classes are loaded from. Satheesh Cheveri 2, 1 19 As a result, you can be sure it can javalang.classnotfoundexception found by being sure its in the local classpath.

I’m getting the exception java.

Can’t believe that after 2. Also i have this error on JDK.

Are you sure this works? Was it the jar mysql-connector-java But I made some change.

java – ClassNotFoundException – Stack Overflow

Clean the server and project iii. Strange ways java.lang.classnotfoundexcption eclipse: You must put the JAR file mysql-connector-java If you are not using IDE then you have to do this manually.

Is your jar the one containing Driver in the classpath?

In NetBeans, right click on libraries, select properties select rub tab there you need to add the mysql-connector-java. Now it is important to add mysql-connector-java The only thing that worked for me was downloading the mysql-connector-java Yet this is not a good solution I guess.

Cannot start JRuby rails 3.0.10 app on Torquebox with mysqljdbc driver

You should see the sql driver on the list. This question might have asked here number of times.


Pascal Thivent k Email Required, but never shown. So, what exactly com.mysql.jdbc.drlver your classpath look like? Ruthreshwar 1, 1 14 You should download MariaDB connector.

How to solve the problem ‘otFoundException: ‘ – Quora

In netbean Right click on your project, then you click on Libraries, then Run tab, add library, then select mysql connector. I struggled with this problem for over 2 hours, and this was the solution to the problem.

Bostone I thought that the driver went with Apache James itself. Post Your Answer Discard Uruby clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.