maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5831) NoClassDefFoundError: org/apache/commons/cli/ParseException
Date Tue, 26 May 2015 17:51:17 GMT

    [ https://issues.apache.org/jira/browse/MNG-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559480#comment-14559480
] 

Michael Osipov commented on MNG-5831:
-------------------------------------

Did you try a newer version of Maven?

> NoClassDefFoundError: org/apache/commons/cli/ParseException
> -----------------------------------------------------------
>
>                 Key: MNG-5831
>                 URL: https://issues.apache.org/jira/browse/MNG-5831
>             Project: Maven
>          Issue Type: Bug
>          Components: Bootstrap & Build, Command Line
>    Affects Versions: 3.2.5
>         Environment: OS Name:                   Microsoft Windows 7 Enterprise
> OS Version:                6.1.7601 Service Pack 1 Build 7601
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
> apache-maven-3.2.5
>            Reporter: FeiCao
>
> C:\>java -version
> java version "1.6.0_45"
> Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
> Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
> C:\>mvn -v
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
>         at java.lang.Class.getMethod0(Class.java:2679)
>         at java.lang.Class.getMethod(Class.java:1605)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.getEnhancedMainMethod(Launcher.java:172)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:268)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
>         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:254)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>         ... 9 more
> C:\>set |findstr M2
> M2=C:\cc\apache-maven-3.2.5



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

Mime
View raw message