cxf - quarkus-cxf 本机构建失败 - UnresolvedElementException - 在解析期间发现未解析的方法
问题描述
祝大家有美好的一天:-)
我正在使用 quarkus-cxf 扩展,现在遇到了以下问题。
在 JVM 模式下,一切正常。非常感谢您的图书馆。
但是我在本机模式下有错误。对于我可能做错的提示,我非常感激......</p>
Quarkus 版本:1.7.1.最终 quarkus-cxf 版本:https ://github.com/shumonsharif/quarkus-cxf/blob/master/pom.xml
错误发生在
mvn clean package -Dquarkus.native.container-build=true -Dquarkus.container-image.build=true -Dquarkus.container-image.registry=nfrt-docker-staging-local.repo.pnet.ch -Dquarkus.container- image.tag=最新的-Pnative
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.apache.cxf.staxutils.validation.W3CMultiSchemaFactory.<init>(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0) at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:126) at com.oracle.svm.hosted.NativeImageGenerator.runPoints5ToAnalysis(NativeImageGenerator.runPoints5ToAnalysis)(Native.:70)更多原因:com.oracle.graal.pointsto.constraints.UnresolvedElementException:在解析过程中发现未解析的方法:org.apache.cxf.staxutils.validation.W3CMultiSchemaFactory.()。要诊断问题,您可以使用 --allow-incomplete-classpath 选项。然后在第一次访问时在运行时报告缺少的方法。在 com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.reportUnresolvedElement(SharedGraphBuilderPhase.java:259) 在 com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser。
解决方案
推荐阅读
- ionic-framework - Ionic facebook登录:获取此应用程序仍处于开发模式而我将其设置为实时模式
- c++ - GTK 进度条的使用
- service-worker - 默认cache.addAll缓存时间?
- python - 使用 Pandas + xlsxwriter 删除索引的边框
- sql - SQL - 两个表之间的不同计数
- python - 在python中对目录中的文件夹(字母和数字的组合)进行排序
- reactjs - 运行 React 应用程序时找不到 IPFS 模块
- onclick - 有没有办法在网站上单击按钮时激活节点文件
- java - 是否可以在运行时更改 hazelcast 集群成员
- javascript - 笑话模拟函数返回未定义而不是对象