× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dear All,
Im trying to connect to MySql server in my PC using Scott's JDBC/RPG program
(jdbcr4). I have set the class path as and compiled testMySql.java file
successfully but when I tried to run the java program gave me following
error

java testMySql
java.lang.NoSuchMethodError: valueOf (Z)Ljava/lang/Boolean;
java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:85)
java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)
java/lang/IncompatibleClassChangeError.<init>(Ljava/lang/String;)V+1
(IncompatibleClassChangeError.java:34)
java/lang/NoSuchMethodError.<init>(Ljava/lang/String;)V+1
(NoSuchMethodError.java:37)

com/mysql/jdbc/ConnectionPropertiesImpl$BooleanConnectionProperty.<init>(Lcom/mysql/jdbc/ConnectionPropertiesImpl;Ljava/lan
g/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V+4
(ConnectionPropertiesImpl.java:73)
com/mysql/jdbc/ConnectionPropertiesImpl.<init>()V+25
(ConnectionPropertiesImpl.java:686)

com/mysql/jdbc/ConnectionImpl.<init>(Ljava/lang/String;ILjava/util/Properties;Ljava/lang/String;Ljava/lang/String;)V+1
(Con
nectionImpl.java:628)


com/mysql/jdbc/ConnectionImpl.getInstance(Ljava/lang/String;ILjava/util/Properties;Ljava/lang/String;Ljava/lang/String;)Lco
m/mysql/jdbc/Connection;+16 (ConnectionImpl.java:298)


com/mysql/jdbc/NonRegisteringDriver.connect(Ljava/lang/String;Ljava/util/Properties;)Ljava/sql/Connection;+68
(NonRegisteri
ngDriver.java:282)


java/sql/DriverManager.getConnection(Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)Ljava/sql/Connection;+
144 (DriverManager.java:512)


java/sql/DriverManager.getConnection(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection;+37
(Drive
rManager.java:172)

testMySql.main([Ljava/lang/String;)V+25 (testMySql.java:16)


can some one help me to over come this issue.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.