Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: [ansible-chronos | Maven Compile] failed on 14.04 #1

Open
kevit opened this issue Jun 25, 2015 · 1 comment
Open

TASK: [ansible-chronos | Maven Compile] failed on 14.04 #1

kevit opened this issue Jun 25, 2015 · 1 comment
Labels

Comments

@kevit
Copy link

kevit commented Jun 25, 2015

Hello
I got a trouble with compile chronos on ubuntu 14.04, could you take a look?

failed: [10.10.10.10] => {"changed": true, "cmd": ["mvn", "compile"], "delta": "0:00:03.504369", "end": "2015-06-25 11:11:18.716934", "rc": 1, "start": "2015-06-25 11:11:15.212565", "warnings": []}
stderr: Exception in thread "pool-2-thread-1" java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
    at org.apache.maven.wagon.providers.file.FileWagon.resolveDestinationPath(FileWagon.java:206)
    at org.apache.maven.wagon.providers.file.FileWagon.resourceExists(FileWagon.java:265)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:577)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
    ... 7 more
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
    at org.apache.maven.wagon.providers.file.FileWagon.resolveDestinationPath(FileWagon.java:206)
    at org.apache.maven.wagon.providers.file.FileWagon.resourceExists(FileWagon.java:265)
    at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:577)
    at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
    at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
    at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
    ... 7 more
stdout: Warning: JAVA_HOME environment variable is not set.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building chronos 2.1.0_mesos-0.14.0-rc4
[INFO] ------------------------------------------------------------------------
Downloading: http://downloads.mesosphere.io/maven/org/apache/apache/3/apache-3.pom
Downloading: file:///tmp/chronos/lib/org/apache/apache/3/apache-3.pom
---------------------------------------------------
constituent[0]: file:/usr/share/maven/lib/aether-impl.jar
constituent[1]: file:/usr/share/maven/lib/sisu-inject-bean.jar
constituent[2]: file:/usr/share/maven/lib/plexus-component-annotations.jar
constituent[3]: file:/usr/share/maven/lib/aether-connector-wagon.jar
constituent[4]: file:/usr/share/maven/lib/maven-core-3.x.jar
constituent[5]: file:/usr/share/maven/lib/maven-compat-3.x.jar
constituent[6]: file:/usr/share/maven/lib/commons-logging.jar
constituent[7]: file:/usr/share/maven/lib/plexus-utils.jar
constituent[8]: file:/usr/share/maven/lib/maven-artifact-3.x.jar
constituent[9]: file:/usr/share/maven/lib/commons-cli.jar
constituent[10]: file:/usr/share/maven/lib/sisu-inject-plexus.jar
constituent[11]: file:/usr/share/maven/lib/maven-plugin-api-3.x.jar
constituent[12]: file:/usr/share/maven/lib/plexus-sec-dispatcher.jar
constituent[13]: file:/usr/share/maven/lib/aether-spi.jar
constituent[14]: file:/usr/share/maven/lib/maven-embedder-3.x.jar
constituent[15]: file:/usr/share/maven/lib/maven-aether-provider-3.x.jar
constituent[16]: file:/usr/share/maven/lib/wagon-provider-api.jar
constituent[17]: file:/usr/share/maven/lib/sisu-guice.jar
constituent[18]: file:/usr/share/maven/lib/plexus-cipher.jar
constituent[19]: file:/usr/share/maven/lib/guava.jar
constituent[20]: file:/usr/share/maven/lib/wagon-file.jar
constituent[21]: file:/usr/share/maven/lib/wagon-http-shaded.jar
constituent[22]: file:/usr/share/maven/lib/aether-util.jar
constituent[23]: file:/usr/share/maven/lib/maven-model-builder-3.x.jar
constituent[24]: file:/usr/share/maven/lib/maven-settings-builder-3.x.jar
constituent[25]: file:/usr/share/maven/lib/aether-api.jar
constituent[26]: file:/usr/share/maven/lib/maven-repository-metadata-3.x.jar
constituent[27]: file:/usr/share/maven/lib/commons-codec.jar
constituent[28]: file:/usr/share/maven/lib/maven-model-3.x.jar
constituent[29]: file:/usr/share/maven/lib/commons-httpclient.jar
constituent[30]: file:/usr/share/maven/lib/maven-settings-3.x.jar
constituent[31]: file:/usr/share/maven/lib/plexus-interpolation.jar
---------------------------------------------------

FATAL: all hosts have already failed -- aborting
@JasonGiedymin
Copy link
Member

Can you verify with the updated playbook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants