maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "FeiCao (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (MNG-5831) NoClassDefFoundError: org/apache/commons/cli/ParseException
Date Wed, 27 May 2015 07:07:22 GMT

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

FeiCao closed MNG-5831.
-----------------------
       Resolution: Not A Problem
    Fix Version/s: 3.2.5

Sorry,
Not bug, it's my fault.

> 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
>             Fix For: 3.2.5
>
>
> 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