问题描述
EclipseLink捆绑包(org.eclipse.persistence/org.eclipse.persistence.core/2.5.2)在其Import-Package
的头条目中缺少导入语句javax.xml.bind
.我在这里描述了相同的错误: Glassfish 4 moxy eclipselink 2.5.2 oxm对象图麻烦
The EclipseLink bundle (org.eclipse.persistence/org.eclipse.persistence.core/2.5.2) is missing the import statement javax.xml.bind
in its header entry of Import-Package
. I get the same error described here:Glassfish 4 moxy eclipselink 2.5.2 oxm object graph troubles
我添加为在OSGi中将javax.xml.bind
声明为Bootdelegated,否则EclipseLink MOXy无法正常工作.
I add to declare javax.xml.bind
as bootdelegated in OSGi, otherwise EclipseLink MOXy is not working properly.
是否可以解决此问题?
推荐答案
修复了EclipseLink 2.5.3中的此错误.另外,EclipseLink 2.6.0不包含此问题.
Fixed this bug in EclipseLink 2.5.3.Also, EclipseLink 2.6.0 does not contain this issue.
感谢创建请求.
这篇关于EclipseLink Core 2.5.2缺少导入包javax.xml.bind的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!