Deployment Failure [message #514334] |
Sun, 14 February 2010 11:20  |
Eclipse User |
|
|
|
My Setup:
-----------------------------------------------------
- Eclipse Galileo
- JRE 6
- Built-in Eclipse Galileo WTP
- Apache CXF 2.2.6
- JBoss 5.0.1
Steps:
-----------------------------------------------------
- Create a dynamic web project
- Copy a sample wsdl for a top-down webservice to the project
- Create a new top-down webservice with WTP using the wsdl
- At the end, WTP provides a "Start Server" button. Press it
- The following exception occured....
Exception:
-----------------------------------------------------
13:56:38,890 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empworkhours': Invocation of init method failed;
nested exception is java.lang.LinkageError: loader constraint violation:
when resolving interface method " org.w3c.dom.Node.setUserData(Ljava/lang/String;Ljava/lang/Ob ject;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object; "
the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, org/apache/cxf/staxutils/StaxUtils, and the class loader
(instance of <bootloader>) for resolved class, org/w3c/dom/Node, have different Class objects for the type org/w3c/dom/UserDataHandler used in the signature
at org.springframework.beans.factory.support.AbstractAutowireCa pableBeanFactory.initializeBean(AbstractAutowireCapableBeanF actory.java:1338)
I suppose this failure has something to do with library conflicts but i am not sure. Does anybody know how to solve this exception? I did nothing special, i just wanted to create a simple webservice using cxf without maven.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04521 seconds