camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Poth (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-10922) jaxb2-maven-plugin fails on Java 9
Date Mon, 06 Mar 2017 09:19:33 GMT

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

John Poth resolved CAMEL-10922.
-------------------------------
    Resolution: Fixed

> jaxb2-maven-plugin fails on Java 9
> ----------------------------------
>
>                 Key: CAMEL-10922
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10922
>             Project: Camel
>          Issue Type: Sub-task
>          Components: camel-jmx, camel-soap
>            Reporter: John Poth
>            Priority: Minor
>
> 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)

Mime
View raw message