Hello,

To run the api sample project, I think you need to have built locally before the "built-tool" project, but as I am not sure, some one may confirm.

ALain

Le 20 sept. 07 à 09:33, nafti majdi a écrit :

I have added the lines but it doesn't work!

----- Message d'origine ----
De : oldtum <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Jeudi, 20 Septembre 2007, 1h42mn 17s
Objet : Re: [Ecm] nuxeo api sample error

You must add those line to pom.xml

    <dependency>
      <groupId>com.sun.xml</groupId>
      <artifactId>xsom</artifactId>
      <version>20060306</version>
    </dependency>
    <dependency>
      <groupId>com.sun.xml</groupId>
      <artifactId>relaxngDatatype</artifactId>
      <version>1.0</version>
    </dependency>
    <dependency>
      <groupId>jsr170</groupId>
      <artifactId>jcr</artifactId>
      <version>1.0</version>    </dependency>
    </dependencies>

Majdi wrote

Hi
when I try to test the class StreamingSample of the nuxeo api sample I have this exception

- Starting NXRuntime service Simple Runtime; version: 1.0.0
- Registering component: service:org.nuxeo.runtime.api.ServiceManagement
- Registering component: service:org.nuxeo.runtime.LoginComponent
- Registering component: service:org.nuxeo.ecm.platform.login.JBossLoginConfig - Registering component: service:org.nuxeo.ecm.core.api.repository.RepositoryManager
- Registering component: service:org.nuxeo.ecm.core.schema.TypeService
- Register document type: Document
java.lang.NoClassDefFoundError: com/sun/xml/xsom/XSType
at org.nuxeo.ecm.core.schema.TypeService.activate(TypeService.java:75)
at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.activate (ComponentInstanceImpl.java:107) at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate (RegistrationInfoImpl.java:229) at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.resolve (RegistrationInfoImpl.java:295) at org.nuxeo.runtime.model.impl.ComponentManagerImpl._register (ComponentManagerImpl.java:168) at org.nuxeo.runtime.model.impl.ComponentManagerImpl.register (ComponentManagerImpl.java:134) at org.nuxeo.runtime.model.impl.DefaultRuntimeContext.deploy (DefaultRuntimeContext.java:87) at org.nuxeo.runtime.util.NXRuntimeApplication.deploy (NXRuntimeApplication.java:75) at org.nuxeo.ecm.sample.SampleApplication.deployAll (SampleApplication.java:67) at org.nuxeo.runtime.util.NXRuntimeApplication.initialize (NXRuntimeApplication.java:64) at org.nuxeo.runtime.util.NXRuntimeApplication.start (NXRuntimeApplication.java:52) at org.nuxeo.ecm.sample.streaming.StreamingExample.main (StreamingExample.java:87)


note that i have created a java project on eclipse and i have imported all the the project nuxeo.api.sample and then i build it using the maven plugin.

please help me
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

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

Reply via email to