Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Deployment Failure(loader constraint violation)
Deployment Failure [message #514334] Sun, 14 February 2010 16:20 Go to next message
Michael is currently offline Michael
Messages: 7
Registered: February 2010
Junior Member

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.
Re: Deployment Failure [message #526842 is a reply to message #514334] Tue, 13 April 2010 09:24 Go to previous message
Oliver  is currently offline Oliver
Messages: 1
Registered: April 2010
Junior Member
Hi Michael,

I have the same problem. Did you find any solution?

Thanks,
Oliver
Previous Topic:war imported with wrong facet, how are the facets decided ?
Next Topic:starting rhino in debug mode
Goto Forum:
  


Current Time: Sat Oct 25 06:36:36 GMT 2014

Powered by FUDForum. Page generated in 0.12987 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software