04-04-2012 08:28 AM
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.
04-04-2012 11:39 AM
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.
04-09-2012 03:19 AM
Thankyou florent for the response..
04-10-2012 02:45 PM
I would say that
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.