cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo Automation client 5.5 bad class major version

catherine_
Champ on-the-rise
Champ on-the-rise

My project is Java 5 compliant. I am using Nuxeo Automation client 5.5 jar which is compiled with jdk 6.

I get the following exception:

java.lang.UnsupportedClassVersionError: (org/nuxeo/ecm/automation/client/model/Document) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:228)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:373)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:66)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)

Please help. Either I make my project Java 6 compliant (which I can't) or use a Nuxeo Automation Client jar compiled with jdk 5. Can i get a jar compiled with jdk 5?

I am stuck. Please help me solve my issue.

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

We do not support Java 5, which is getting quite old, for the server or the client parts. You should try to recompile the client parts (Nuxeo Automation client) under a JDK 5, but I can't promise it will work as we haven't tried it. There should be no major obstacles though.

Thankyou florent for the response..

I would say that