admin管理员组文章数量:1314216
I upgraded apache cxf v4.0.3 to 4.0.4 which is making build fail with below error:
Failed to execute goal .apache.cxf:cxf-codegen-plugin:4.0.4:wsdl2java (generate-sources) on project
Exit code: 1
Command line was: /opt/tools/java/jdk17.0.4.1_linux-x64/bin/java --add-exports=jdk.xml.dom/.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun.apache.xerces.internal.impl.xs=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED -jar /tmp/GSCLAIMS-GCCDATASERVICE183-TESTANDPUBLISH/cxf-tmp-12338135658495952580/cxf-codegen4068116116883184370.jar /tmp/GSCLAIMS-GCCDATASERVICE183-TESTANDPUBLISH/cxf-tmp-12338135658495952580/cxf-w2j11416424235311688218args
Before making build fail, it gives warning stating:
I upgraded apache cxf v4.0.3 to 4.0.4 which is making build fail with below error:
Failed to execute goal .apache.cxf:cxf-codegen-plugin:4.0.4:wsdl2java (generate-sources) on project
Exit code: 1
Command line was: /opt/tools/java/jdk17.0.4.1_linux-x64/bin/java --add-exports=jdk.xml.dom/.w3c.dom.html=ALL-UNNAMED --add-exports=java.xml/com.sun..apache.xerces.internal.impl.xs=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED -jar /tmp/GSCLAIMS-GCCDATASERVICE183-TESTANDPUBLISH/cxf-tmp-12338135658495952580/cxf-codegen4068116116883184370.jar /tmp/GSCLAIMS-GCCDATASERVICE183-TESTANDPUBLISH/cxf-tmp-12338135658495952580/cxf-w2j11416424235311688218args
Before making build fail, it gives warning stating:
Share Improve this question asked Jan 31 at 4:50 KJ21KJ21 939 bronze badges1 Answer
Reset to default 1Replacing http://java.sun with https://jakarta.ee in wsdl_bindings.xml worked as shown in the screenshot below:
本文标签:
版权声明:本文标题:spring boot - Apache cxf v4.0.3 to 4.0.4 making build fail with error to execute goal to generate sources in project - Stack Ove 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741925930a2405285.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论