maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-3561) Improved error message when maven 2.1 is run with jdk 14
Date Wed, 02 Jul 2014 13:44:42 GMT

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

Paul Benedict updated MNG-3561:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Improved error message when maven 2.1 is run with jdk 14
> --------------------------------------------------------
>
>                 Key: MNG-3561
>                 URL: https://jira.codehaus.org/browse/MNG-3561
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.0-alpha-1
>         Environment: Maven 2.1-alpha-1-SNAPSHOT
>            Reporter: Paul Gier
>            Priority: Minor
>
> Currently if I try to run maven 2.1-alpha-1-SNAPSHOT with java 1.4 I get the standard
jvm errors about wrong class type.  It would be nice to have some better error message saying
that java 1.5 or higher is required.  This could probably go into the startup script.
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/codehaus/plexus/logging/AbstractLogEnabled
(Unsupported major.minor version 49.0)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message