Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-28 Thread Juan Algaba
ect check if you have: > >1. Proper dependency for the MySQL driver in your pom.xml file. I.e. > > > > mysql > > mysql-connector-java > > 8.0.xx > > > >1. After the build check you .m2/repository/mysql directory to see if >

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver .

2023-08-26 Thread Mauro Chi
The Java classe driver Is changed. The new driver class Is: com.mysql.cj.jdbc.Driver Class.forName("com.mysql.cj.jdbc.Driver") https://stackoverflow.com/questions/52032739/loading-class-com-mysql-jdbc-driver-this-is-deprecated-the-new-driver-class Il mer 9 ago 2023, 06:23 Zulfi Khan ha scri

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-25 Thread Richard Grin
r file with tar, 7-zip or any other proper utility and find if your driver class is there. *From:* Zulfi Khan *Sent:* Monday, August 21, 2023 9:42 PM *To:* NetBeans Mailing List *Subject:* Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver Hi, Thanks for your

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-22 Thread René Aravena
Hi, did you put the dependency in the pom.xml file of the maven project? com.mysql mysql-connector-j 8.0.33 René El lun, 21 ago 2023 a la(s) 23:42, Zulfi Khan (zulfi6...@yahoo.com.invalid) escribió: > Hi, > > Thanks for your response. > > (

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-14 Thread Juan Algaba
Don't print your exceptions this way: System.err.println("Exception: " + e.getMessage()); This will hide the type of the original exception, and the root exception (if any). A better way is e.printStackTrace(System.err); Which will show that it's a ClassNotFoundException, the exact line where t

RE: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-09 Thread Greenberg, Gary
1. This is not a netbeans question you are asking. 2. There is not enough info, but IMHO you did not include MySQL jar file in you dependencies in your project. From: Zulfi Khan Sent: Tuesday, August 8, 2023 9:23 PM To: NetBeans Mailing List Subject: mysql connectivity problem with ApachN

Re: mysql connectivity problem with ApachNetbeans 18:Exception: com.mysql.jdbc.Driver

2023-08-08 Thread Andreas Reichel
Zulfi, you will need to add the MySQL JDBC Driver to the classpath (or the program you are running). And maybe you will want to look for a General Java Programming Forum or List. Apache Netbeans is meant for concerns about the IDE. Good luck and regards Andreas On Wed, 2023-08-09 at 04:22 +