SpringMvc+CXF+Weblogic,偶尔会报拦截器错误,找不到setAfter、setBefore
樱_花雪 2017-12-05 09:56:38 <2017-12-5 上午09时36分27秒 CST> <Error> <HTTP> <BEA-101216> <Servlet: "com.thp.powerIncident.webservice.impl.OutageEventJHWebServiceImpl" failed to preload on startup in Web application: "PowerIncident".
com.sun.xml.ws.spi.db.DatabindingException:
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setAfter] or [getAfter] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setAfter(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[after]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setBefore] or [getBefore] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setBefore(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[before]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Runtime Exceptions:
---------------------------------------------------------
at com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:190)
at com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:182)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:218)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:191)
at java.security.AccessController.doPrivileged(Native Method)
Truncated. see log file for complete stacktrace
Caused By: javax.xml.bind.JAXBException:
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setAfter] or [getAfter] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setAfter(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[after]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setBefore] or [getBefore] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setBefore(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[before]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Runtime Exceptions:
---------------------------------------------------------
- with linked exception:
[Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setAfter] or [getAfter] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setAfter(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[after]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setBefore] or [getBefore] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setBefore(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[before]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Runtime Exceptions:
---------------------------------------------------------
]
at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1092)
at org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:189)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:165)
at com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:186)
at com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:182)
Truncated. see log file for complete stacktrace
Caused By: Exception [EclipseLink-0] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.IntegrityException
Descriptor Exceptions:
---------------------------------------------------------
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setAfter] or [getAfter] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setAfter(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[after]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Exception [EclipseLink-60] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DescriptorException
Exception Description: The method [setBefore] or [getBefore] is not defined in the object [org.apache.cxf.phase.AbstractPhaseInterceptor].
Internal Exception: java.lang.NoSuchMethodException: org.apache.cxf.phase.AbstractPhaseInterceptor.setBefore(java.util.Set)
Mapping: org.eclipse.persistence.oxm.mappings.XMLCompositeDirectCollectionMapping[before]
Descriptor: XMLDescriptor(org.apache.cxf.phase.AbstractPhaseInterceptor --> [])
Runtime Exceptions:
---------------------------------------------------------
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:696)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:632)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:568)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799)
at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756)
Truncated. see log file for complete stacktrace
>