I guess you have empty or invalid beans.xml file. Take a look in examples 
delivered with CXF or in Glen Mazza blogs.
Three jars in your war file is still not enough.
Do you have special reason not to use maven? It makes dependency management 
drastically easy.

Cheers,
Andrei.

-----Original Message-----
From: Aenima [mailto:[email protected]] 
Sent: Dienstag, 6. November 2012 12:13
To: [email protected]
Subject: RE: ClassNotFound exception org.apache.cxf.transport.servlet.CXFServlet

Thank you for your fast answer,
I have exported the war file, and the cxf-rt-transports-http-XXX.jar was 
missing, so I added it from my Apache CXF jars in my WEB-INF/lib directory. 
Now there's a new error message when I start the server. It is :
*GRAVE: Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 4 in XML 
document from ServletContext resource [/WEB-INF/beans.xml] is invalid; nested 
exception is org.xml.sax.SAXParseException: Document root element "beans", must 
match DOCTYPE root "null". org.xml.sax.SAXParseException:
Document root element "beans", must match DOCTYPE root "null".* My beans.xml 
file is:




--
View this message in context: 
http://cxf.547215.n5.nabble.com/ClassNotFound-exception-org-apache-cxf-transport-servlet-CXFServlet-tp5717965p5717971.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to