This error comes from trying to setup a server.
I was able to narrow down the problem to the following steps:
- new grails app
- drop the cxf-**.jar into the lib directory (in my case
cxf-2.0.2-incubator.jar)
- drop the XmlSchema-1.2.jar (required early in by CXF)
- change the resource.xml to (notice that almost all is commented. The
<import/> is enough to create the error):

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:jaxws="http://cxf.apache.org/jaxws";
       xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";>

   <import resource="classpath:META-INF/cxf/cxf.xml" />
   <!-- import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
   <import resource="classpath:META-INF/cxf/cxf-servlet.xml" / -->

   <!-- jaxws:endpoint
     id="processWS"
     implementor="com.nen.pegasus.ws.ProcessMgmtWService"
     address="/services/processWS" /-->

</beans>

Whenever I run the grails app, I get the error I reported.


Now, I also tried to use GroovyWS in my grails app with no success (as a
client) while I had no problem with a straight groovy app.
My guess is that the problem is related to classloading, but I'm completely
stuck at this point...


-- 
View this message in context: 
http://www.nabble.com/CXF-and-grails...-tf4524774.html#a12924445
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to