dufoli commented on pull request #721:
URL: https://github.com/apache/cxf/pull/721#issuecomment-731782694
I have an error related to classLoader during build::
```
[WARNING] Error during type resolution of field 'binding' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'builder' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'client' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'mode' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'context' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'mode' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
[WARNING] Error during type resolution of field 'mode' in class
org.apache.cxf.jaxws.DispatchImpl due to: java.lang.LinkageError: loader
constraint violation: loader (instance of
net/sourceforge/pmd/util/ClasspathClassLoader) previously initiated loading for
a different type with name "javax/xml/bind/JAXBContext"
```
and in test:
testException(org.apache.cxf.jaxws.CodeFirstTest) Time elapsed: 61.128 s
<<< ERROR!
javax.xml.ws.soap.SOAPFaultException: Timed out waiting for response to
operation {http://service.jaxws.cxf.apache.org/}addNumbers.
at
org.apache.cxf.jaxws.CodeFirstTest.testException(CodeFirstTest.java:264)
Caused by: java.io.IOException: Timed out waiting for response to operation
{http://service.jaxws.cxf.apache.org/}addNumbers.
at
org.apache.cxf.jaxws.CodeFirstTest.testException(CodeFirstTest.java:264)
it seems to come from doIntercept on chain do not produce the
Message.RESPONSE_CODE on exchange so it wait infinitly...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]