Re: java.lang.NoClassDefFoundError: java/sql/Savepoint
Posted by: Mark Matthews
Date: January 22, 2005 01:33PM

Jacky PINEAU wrote:
> Hello,
> i try to connect mysql database.
> i use j2sdk1.4.0_01 and
> mysql-connector-java-3.1.6;
> when i run my run my project (under JBuider 6) i
> have this messages :
>
> java.lang.NoClassDefFoundError:
> java/sql/Savepoint
>
> at com.mysql.jdbc.NonRegisteringDriver.connect
> NonRegisteringDriver.java:268)
> at
> java.sql.DriverManager.getConnection(DriverManager
> .java:517)
> at
> java.sql.DriverManager.getConnection(DriverManager
> .java:199)
> at database.accesBase.connect(accesBase.java:69)
> at database.login.<init>(login.java:40)
> at database.login.main(login.java:57)
> Exception in thread "main"
>
> why ?
>
> help me please !
> thanks.
> Jacky

Jacky,

Most likely JBuilder is running your application using JDK-1.3.1 or older (even though you think you're using JDK-1.4.0). See the notes about this in the documentation:

http://dev.mysql.com/doc/connector/j/en/cj-supported-java-versions.html

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: java.lang.NoClassDefFoundError: java/sql/Savepoint
January 22, 2005 01:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.