【发布时间】:2016-07-07 21:10:22
【问题描述】:
我使用的是 Websphere 8.5.5,并且我注意到我对 JAX-WS Web 服务的第一次调用需要很长时间才能响应。我在 LOG(跟踪级别)中得到了这个,15 分钟后它就可以工作了。我有 EclipseLink MOXy 作为 JAXB 提供程序
jaxb.properties:
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
javax.xml.bind.JAXBException:
Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.
- with linked exception:
[Exception [EclipseLink-50007] (Eclipse Persistence Services - 2.4.2.qualifier): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.]
【问题讨论】:
标签: jaxb websphere jax-ws moxy