You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/05/29 07:19:00 UTC

[jira] [Commented] (SANTUARIO-547) Catalog passed to XJC is in obsolete format

    [ https://issues.apache.org/jira/browse/SANTUARIO-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119342#comment-17119342 ] 

Colm O hEigeartaigh commented on SANTUARIO-547:
-----------------------------------------------

How can I reproduce this error? The Santuario build works fine with JDK 11.

> Catalog passed to XJC is in obsolete format
> -------------------------------------------
>
>                 Key: SANTUARIO-547
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-547
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 2.2.0, Java 2.1.5
>            Reporter: Lukas Jungmann
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>
> On JDK 11, xjc during build fails with:
>  
> {noformat}
> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has occured: javax.xml.catalog.CatalogException: JAXP09030002: Failed to parse the catalog file.
> around Ant part ...<xjc fork="true" extension="true" catalog="/Users/lukas/development/github/eclipse-ee4j/santuario-xml-security-java/src/main/resources/bindings/bindings.cat" destdir="${dest}" target="2.1">... @ 8:194 in /Users/lukas/development/github/eclipse-ee4j/santuario-xml-security-java/target/antrun/build-main.xml
> {noformat}
>  
> ...I'm using different way to invoke XJC but the issue is likely the same with the maven plugin because catalog format being used is not supported by JDK anymore, see  [JDK bug|https://bugs.openjdk.java.net/browse/JDK-8231578] for details



--
This message was sent by Atlassian Jira
(v8.3.4#803005)