maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adarsh Kumar Maurya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MNG-5943) Build Failure due to NoClassDefFoundException: org/eclipse/aether/spi/connector/Transfer$State
Date Mon, 07 Dec 2015 18:48:10 GMT

     [ https://issues.apache.org/jira/browse/MNG-5943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adarsh Kumar Maurya updated MNG-5943:
-------------------------------------

Hi, Team. Please check the issue above and kindly fix it. Thanks :)

> Build Failure due to NoClassDefFoundException: org/eclipse/aether/spi/connector/Transfer$State
> ----------------------------------------------------------------------------------------------
>
>                 Key: MNG-5943
>                 URL: https://issues.apache.org/jira/browse/MNG-5943
>             Project: Maven
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 3.3.9
>         Environment: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T22:11:47+05:30)
> Maven home: D:\16.Maven\apache-maven-3.3.9\bin\..
> Java version: 1.7.0_51, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_51\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
>            Reporter: Adarsh Kumar Maurya
>              Labels: github-import
>
> Mentioned below are the steps which results in Exception:
> *Step 1.*
> mvn -X install:install-file -Dfile=%ANDROID_HOME%\platforms\android-21\android.jar -DgroupId=com.google.android
-DartifactId=android -Dversion=5.0.1_r2 -Dpackaging=jar -DgeneratePom=true>>log.txt
> *Step 2.*
> mvn -X archetype:generate -DarchetypeArtifactId=android-quickstart  -DarchetypeGroupId=de.akquinet.android.archetypes
-DarchetypeVersion=1.1.0 -DgroupId=com.packt.androidMaven -DartifactId=chapter -Dversion=1.0-SNAPSHOT
-Dplatform=21 --batch-mode --quiet>>log.txt
> *Step 3.*  Check <platform.version> tag. If it is empty change to above used.
>  
> *Step 4.* D:\16.Maven\chapter>mvn -X  build>log.txt
> It results in below mentioned exceptions:
> {
> Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
>         at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
>         at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
>         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:744)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>         ... 5 more
> Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/aether/spi/connector/Transfer$State
>         at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:608)
>         at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
>         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:744)
> Caused by: java.lang.ClassNotFoundException: org.eclipse.aether.spi.connector.Transfer$State
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>         ... 5 more
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message