Exception in thread “main” java. I can find and select the source fine, but when I try to test the connection I get: DevJ3rry 2 Can’t test connection to mysql using Intellij Ask Question. Either of the following options should work add jar to the global libraries of the project.
|Date Added:||28 September 2008|
|File Size:||24.33 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Check out this link with very comprehensive instructions.
NixMash : ClassNotFoundException fix in IntelliJ IDEA
Where do I need to add the path to this file? What Intellij needs is separated from your projects.
Delete Red driver files with the minus symbol Click Download. Sign up using Email and Password.
Email Required, but never shown. Sign up using Facebook.
In the window left under driver files click download. So i fallowed your answer, it worked, BUT i have the driver as a maven dependencie, cpm.mysql.jdbc.driver heck do i need to download it???
For Intellij 15 maybe lower versions this works: Looks like it’s just a classpath problem, but I’m having a surprisingly rough time figuring out what I have to do to get the mysql jar on the classpath. Either of the following options should work add jar to the global libraries of the project.
Exception in thread “main” java. Lucas Lowry 21 1 2.
Can’t test connection to mysql using Intellij Ask Question.
My application connects to mysql fine, it’s the IntellijIDE that’s having problems.