且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

什么可能导致“JAXBElement 没有无参数默认构造函数"?

更新时间:2023-01-17 10:55:21

最终这个问题是由已修复的错误引起的.我正在加载的系统使用库 JAXB-2.0,我认为我使用的是最新版本 (JAXB-2.2.5).由于设计不佳的插件框架,我的版本被 2.0 jar 抢占了.

Ultimately this problem was caused by an error that has been fixed. The system I am loading into uses the library JAXB-2.0 where I thought I was using the latest version (JAXB-2.2.5). Thanks to a poorly designed plugin framework, my version was being pre-empted by the 2.0 jar.

为了解决这个问题,我必须升级商业软件的库,或者尝试使用 Classloaders

In order to get past this I'll have to either upgrade the library of the commercial software, or try and play with Classloaders

感谢所有帮助我找到这个的人.

Thanks to everyone who helped me to find this.