ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <jochen.wiedm...@gmail.com>
Subject Re: IncompatibleClassChangeError using Java 6 Beta
Date Wed, 23 Aug 2006 07:12:35 GMT

Hi, Dietmar,

I am sorry, but I cannot reproduce your problem. I tried both compiling 
your classes with Java 1.5 and 1.6. In the latter case I couldn't run 
with Java 5 (which is right, due to the UnsupportedClassVersionError). I 
was using the current nightly builds.

Jochen



bash-3.1$ /c/Prg/JDK-1.5.0/bin/javac -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar"

Echo.java EchoServer.java
bash-3.1$ /c/Prg/JDK-1.5.0/bin/java -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar;.;../var/maven/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar;../var/maven/repository/org/apache/ws/commons/ws-commons-util/1.0.1/ws-commons-util-1.0.1.jar"

EchoServer 50000
bash-3.1$ /c/Prg/JDK-1.6.0/bin/java -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar;.;../var/maven/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar;../var/maven/repository/org/apache/ws/commons/ws-commons-util/1.0.1/ws-commons-util-1.0.1.jar"

EchoServer 50000
bash-3.1$ /c/Prg/JDK-1.6.0/bin/javac -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar"

Echo.java EchoServer.java
bash-3.1$ /c/Prg/JDK-1.5.0/bin/java -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar;.;../var/maven/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar;../var/maven/repository/org/apache/ws/commons/ws-commons-util/1.0.1/ws-commons-util-1.0.1.jar"

EchoServer 50000
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad 
version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         ...
bash-3.1$ /c/Prg/JDK-1.6.0/bin/javac -classpath 
"xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-server-3.0rc1.jar;xmlrpc-3.0-SNAPSHOT/lib/xmlrpc-common-3.0rc1.jar"

Echo.java


---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-user-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-user-help@ws.apache.org


Mime
View raw message