You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "John Poth (JIRA)" <ji...@apache.org> on 2017/03/02 08:58:45 UTC

[jira] [Created] (CAMEL-10922) jaxb2-maven-plugin fails on Java 9

John Poth created CAMEL-10922:
---------------------------------

             Summary: jaxb2-maven-plugin fails on Java 9
                 Key: CAMEL-10922
                 URL: https://issues.apache.org/jira/browse/CAMEL-10922
             Project: Camel
          Issue Type: Bug
          Components: camel-jmx, camel-soap
            Reporter: John Poth


Plugin [fails|https://github.com/mojohaus/jaxb2-maven-plugin/issues/43] with error:
{code}
Caused by: java.lang.IllegalArgumentException: Prefix '' is already bound to ''
        at com.sun.xml.txw2.StartTag.addNamespaceDecl(StartTag.java:191)
        at com.sun.xml.txw2.ContainerElement._namespace(ContainerElement.java:333)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:547)
        at com.sun.xml.txw2.ContainerElement.invoke(ContainerElement.java:134)
        at com.sun.proxy.$Proxy49._namespace(Unknown Source)
        at com.sun.tools.xjc.addon.episode.PluginImpl.run(PluginImpl.java:174)
        at com.sun.tools.xjc.model.Model.generateCode(Model.java:292)
        at org.jvnet.mjiip.v_2_2.XJC22Mojo.generateCode(XJC22Mojo.java:66)
        at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:41)
        at org.jvnet.mjiip.v_2_2.XJC22Mojo.doExecute(XJC22Mojo.java:28)
        at org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:505)
        at org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:328)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        ... 21 more
{code}



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