[Swift-devel] Re: latest Falkon code is in SVN!

Mihael Hategan hategan at mcs.anl.gov
Fri Aug 31 08:53:54 CDT 2007


Use javac -source 1.4 -target 1.4 when compiling.

On Fri, 2007-08-31 at 10:53 +0000, Ben Clifford wrote:
> When I run the client, I get this error, which looks like maybe you've got 
> some pre-compiled code that is compiled with something later than the 1.5 
> JDK that I use...
> 
> 2007-08-31 11:50:59,646 ERROR container.ServiceThread 
> [ServiceThread-2,run:297] Unexpected error during request processing
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:242)
>         at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
>         at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:142)
>         at 
> org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
>         at 
> org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:424)
>         at 
> org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:457)
>         at 
> org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:283)
>         at 
> org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:487)
>         at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
>         at 
> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
>         at 
> org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:478)
>         at 
> org.apache.axis.configuration.DirProvider.getService(DirProvider.java:156)
>         at org.apache.axis.AxisEngine.getService(AxisEngine.java:323)
>         at 
> org.apache.axis.MessageContext.setTargetService(MessageContext.java:757)
>         at 
> org.globus.wsrf.handlers.AddressingHandler.setTargetService(AddressingHandler.java:152)
>         at 
> org.apache.axis.message.addressing.handler.AddressingHandler.processServerRequest(AddressingHandler.java:344)
>         at 
> org.globus.wsrf.handlers.AddressingHandler.processServerRequest(AddressingHandler.java:77)
>         at 
> org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:114)
>         at 
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:248)
>         at 
> org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java:664)
>         at 
> org.globus.wsrf.container.ServiceThread.process(ServiceThread.java:382)
>         at 
> org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:291)
> 
> 




More information about the Swift-devel mailing list