Hello
I coded a little class to connect to nuxeo, using automation
client. When I compile this class using Eclipse Helios I
don't have any problem, I can see my program running and I
can upluad the files to the nuxeo's repository.
But when I try to compile and create my jar file, using Ant,
I get the next error:
build:
[javac] Compiling 10 source files to /home/src/Build
[javac] /home/src/TfmxJava/TfmxNuxeoObject.java:10:
cannot access
org.nuxeo.ecm.automation.client.jaxrs.model.Document
[javac] bad class file:
/home/NuxeoDM5.4.1/nuxeo-dm-5.4.1-tomcat/nxserver/bundles/nu
xeo-automation-client-5.4.1-20110316.035601-74.jar(org/nuxeo
/ecm/automation/client/jaxrs/model/Document.class)
[javac] class file has wrong version 50.0, should be
49.0
[javac] Please remove or make sure it appears in the
correct subdirectory of the classpath.
[javac] import
org.nuxeo.ecm.automation.client.jaxrs.model.Document;
[javac]
^
[javac] 1 error
I have the java version 1.6.24 and the ant version 1.7.0,
nuxeo 5.4.1
Any idea what could be wrong ???
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/