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
> at
> java.sql.DriverManager.getConnection(DriverManager
> .java:517)
> at
> java.sql.DriverManager.getConnection(DriverManager
> .java:199)
> at database.accesBase.connect(
> at database.login.<init>(
> at database.login.main(
> Exception in thread "main"
> why ?
> help me please !
> thanks.
> 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:


Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools

Options: ReplyQuote

Written By
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.