Skip to main content

jaxws-maven-plugin 2.2 and jdk 1.5

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2008-05-10


I'm trying to use jaxws-maven-plugin 2.2 with jdk 1.5 and I get

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
        ... 19 more
Caused by: org.apache.maven.plugin.PluginContainerException: Unable to load the mojo 'wsimport' in the plugin 'org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Bad version number in .class file

I've checked that class MainWsImportMojo has major version 50 so java 6.
Is there any reason for that?


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-08-17

Hi Lukasz,

main reason for using Java 6 is that previous version - java 1.5 - came to EOL more than two years ago - during october 2009 (actual EOL process started on April 8, 2008). See ie: or