I don't know if you are using maven or not, but if so, CXFServlet is located a 
separate dependency with an artifactId of cxf-rt-transports-http.  You need 
this in addition to cxf-rt-frontend-jax[rw]s that contains (and has transitive 
dependencies) of everything else you need at compile time.

            <dependency>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-rt-transports-http</artifactId>
                <version>${cxf.version}</version>
            </dependency>


On Aug 19, 2010, at 6:13 AM, ramadevi wrote:

> 
> Hi All,
> 
> I am new to WebLogic. I am getting ClassNotFound exception for CXFServlet.
> 
> I am using apache CXF 2.2.7.
> I have deployed my WAR file into WebLogic server.
> After deploying, I am trying to start all requests, by clicking on start->
> Servicing All Requests.
> 
> There I am getting the following Exception:
> 
> javax.servlet.ServletException:
> [HTTP:101249][servletcont...@1960764652[app:p6ws module:p6ws.war path:/p6ws
> spec-version:null]]: Servlet class
> org.apache.cxf.transport.servlet.CXFServlet for servlet cxf could not be
> loaded because the requested class was not found in the classpath .
> java.lang.ClassNotFoundException:
> org.apache.cxf.transport.servlet.CXFServlet.
> 
> Any help is appreciated.
> 
> Thanks,
> Rama.
> 
> -- 
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Starting-the-services-gives-ClassNotFound-exception-for-CXFServlet-in-WebLogic-after-Deployment-tp2640825p2640825.html
> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to