eoinKillian Posted May 14, 2007 Share Posted May 14, 2007 Hi, maybe someone can help me on this one: I've got a Java program which should be extended to access a MySql 4.0 database. Unfortunately I'm stuck with Java 1.3 for the time being. My problem is, when I try to get a connection I get an Exception (NoClassDefFoundException or womething similar) because the class Savepoint cannot be loaded. Does anyone know of this problem or know which is the right driver to use. I have tried several JConnectors but they all had the same effect. Thanks in advance for any help Eoin Quote Link to comment https://forums.phpfreaks.com/topic/51330-solved-mysql-40-and-java-13/ Share on other sites More sharing options...
eoinKillian Posted May 16, 2007 Author Share Posted May 16, 2007 OK, I seem to have the answer now myself, in case anyone's interested. I just have to turn off the class verification by starting the java runtime with -Xverify:none. Otherwise the class verifier tries to load java.sql.Savepoint even though it is not accessed by the driver because I'm not using savepoint functionality. Hope this is of use to somebody. Eoin Quote Link to comment https://forums.phpfreaks.com/topic/51330-solved-mysql-40-and-java-13/#findComment-254306 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.