cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Deslauriers (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7387) cxf-java2ws-plugin : Classloading issue with Maven 3
Date Mon, 29 May 2017 23:18:04 GMT
Philippe Deslauriers created CXF-7387:
-----------------------------------------

             Summary: cxf-java2ws-plugin : Classloading issue with Maven 3
                 Key: CXF-7387
                 URL: https://issues.apache.org/jira/browse/CXF-7387
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.1.11
         Environment: Maven 3.3.9 or 3.5.0, JRE Oracle 8u131

Maven home: C:\tools\apache-maven-3.5.0\bin\..
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: C:\tools\jdk1.8.0_131\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
            Reporter: Philippe Deslauriers


Plugins fails, with  "java.lang.NoClassDefFoundError: org/apache/cxf/helpers/CastUtils"

Using the most basic config, with version 3.1.11, see : http://cxf.apache.org/docs/maven-java2ws-plugin.html

{quote}
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:166)
        ... 21 more
Caused by: java.lang.NoClassDefFoundError: org/apache/cxf/helpers/CastUtils
        at org.apache.cxf.maven_plugin.ClassLoaderSwitcher.switchClassLoader(ClassLoaderSwitcher.java:80)
        at org.apache.cxf.maven_plugin.Java2WSMojo.execute(Java2WSMojo.java:221)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        ... 21 more
Caused by: java.lang.ClassNotFoundException: org.apache.cxf.helpers.CastUtils
        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)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message