AnsweredAssumed Answered

problème de déploiement CMIS

Question asked by lemizo on May 21, 2014
Latest reply on May 26, 2014 by lemizo
Bonjour,
Je suis actuellement le tuto de JPotts http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
Là où je rencontre un problème c'est lorsque je fait cette commande:
mvn exec:java -Dexec.mainClass="com.perf.cmis.examples.PerfCMISDataCreator" -Dexec.args="admin admin Perf whitepaper test"


J'ai le message d'erreur suivant:


st"
[INFO] Scanning for projects…
[INFO]
[INFO] ————————————————————————
[INFO] Building perf-mvn-cmis 0.0.1-SNAPSHOT
[INFO] ————————————————————————
[INFO]
[INFO] — exec-maven-plugin:1.3:java (default-cli) @ perf-mvn-cmis —
[WARNING] Warning: killAfter is now deprecated. Do you need it ? Please comment on MEXEC-6.
[WARNING]
java.lang.ClassNotFoundException: com.perf.cmis.examples.PerfCMISDataCreator
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:281)
        at java.lang.Thread.run(Thread.java:744)
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 2.141s
[INFO] Finished at: Wed May 21 16:05:40 EAT 2014
[INFO] Final Memory: 11M/176M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3:java (default-cli) on project perf-mvn-cmis: An exception occured while executing the Java clas  s. com.perf.cmis.examples.PerfCMISDataCreator -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


Merci d'avance de votre aide.

PS: j'ai alfresco community 4.2.c, linux ubuntu 64bits.

Outcomes