Hi,

I've java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework

- check out the the nuxeo-client-build from 
https://svn.nuxeo.org/nuxeo/tools/build/nuxeo-client-build/trunk is done

- mvn install is done on this project

- check out the nuxeo-api-sample from 
http://svn.nuxeo.org/nuxeo/sandbox/nuxeo-api-sample
- mvn install is done on this project
  the maven task generate nuxeo-api-sample-1.0.0-SNAPSHOT.jar (There's a 
compilation error, i modify the src file, and after reexecute this maven task)

- go to the directory to nuxeo-client-build/target/nuxeo-client
- launch : java Launcher launcher.properties

- and i've this error : 
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at Launcher.startMain(Launcher.java:63)
        at Launcher.main(Launcher.java:143)
Caused by: java.lang.NoClassDefFoundError: org/nuxeo/runtime/api/Framework
        at org.nuxeo.ecm.sample.Launcher.main(Launcher.java:35)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 7 more


I've put the runtime library in lib subdirectory an other error appears about 
org/jboss/remoting/InvokerLocator  etc.....
I copy necessary jboss libraries from app/lib to lib and ...

and i've allways the error : 

d: service:org.nuxeo.runtime.LoginComponent
17:59:18,542 [main] WARN  ComponentManagerImpl : Component was already registe
d: service:org.nuxeo.runtime.api.ServiceManagement
17:59:18,542 [main] WARN  ComponentManagerImpl : Component was already registe
d: service:org.nuxeo.runtime.api.DefaultJBossBindings
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at Launcher.startMain(Launcher.java:63)
        at Launcher.main(Launcher.java:143)
Caused by: java.lang.NoClassDefFoundError: org/nuxeo/runtime/api/Framework
        at org.nuxeo.ecm.sample.Launcher.main(Launcher.java:35)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.nuxeo.runtime.api.Framework
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 7 more


Is there a mistake in configuration files, or in dependancy files or ... ?
Any suggestions ?
How can i run api samples ?

Thx
Pascal
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to