Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Problem using Eclipse WTP\Tomcat\CXF for web services(Exception thrown when starting internal Tomcat instance)
Problem using Eclipse WTP\Tomcat\CXF for web services [message #638937] Sat, 13 November 2010 10:00 Go to next message
Mike Tarullo is currently offline Mike Tarullo
Messages: 11
Registered: April 2010
Junior Member
Using:
Eclipse Helois
Tomcat 6
CXF 2.2.1

Getting the folowing exception when starting the internal instance of Tomcat:
SEVERE: Error loading WebappClassLoader
context: /SimpleCXFWebServiceForTomcat
delegate: false
repositories:
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@1004901
org.apache.cxf.transport.servlet.CXFServlet
java.lang.ClassNotFoundException: org.apache.cxf.transport.servlet.CXFServlet
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1491)
at org.apache.catalina.core.StandardWrapper.loadServlet(Standar dWrapper.java:1095)
at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:993)
at org.apache.catalina.core.StandardContext.loadOnStartup(Stand ardContext.java:4350)
at org.apache.catalina.core.StandardContext.start(StandardConte xt.java:4659)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:445)
at org.apache.catalina.core.StandardService.start(StandardServi ce.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)

Can someone explain?

Thanks
Re: Problem using Eclipse WTP\Tomcat\CXF for web services [message #639179 is a reply to message #638937] Mon, 15 November 2010 09:35 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1297
Registered: July 2009
Senior Member
On 11/13/2010 10:00 AM, Mike wrote:
> Using:
> Eclipse Helois
> Tomcat 6
> CXF 2.2.1
>
> Getting the folowing exception when starting the internal instance of
> Tomcat:
> SEVERE: Error loading WebappClassLoader
> context: /SimpleCXFWebServiceForTomcat
> delegate: false
> repositories:
> ----------> Parent Classloader:
> mailto:org.apache.catalina.loader.StandardClassLoader@1004901
> org.apache.cxf.transport.servlet.CXFServlet
> java.lang.ClassNotFoundException:
> org.apache.cxf.transport.servlet.CXFServlet
> at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
> pClassLoader.java:1645)
> at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
> pClassLoader.java:1491)
> at org.apache.catalina.core.StandardWrapper.loadServlet(Standar
> dWrapper.java:1095)
> at org.apache.catalina.core.StandardWrapper.load(StandardWrappe r.java:993)
> at org.apache.catalina.core.StandardContext.loadOnStartup(Stand
> ardContext.java:4350)
> at org.apache.catalina.core.StandardContext.start(StandardConte
> xt.java:4659)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
> at org.apache.catalina.core.StandardHost.start(StandardHost.jav a:785)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava:1045)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine .java:445)
> at org.apache.catalina.core.StandardService.start(StandardServi
> ce.java:519)
> at org.apache.catalina.core.StandardServer.start(StandardServer .java:710)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:581 )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2 89)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41 4)
>
> Can someone explain?
>
> Thanks

There is not enough info here to guess. See the Tomcat FAQ[1] and see
if it helps.

Cheers,
Larry

[1] http://wiki.eclipse.org/WTP_Tomcat_FAQ
Previous Topic:Web Services
Next Topic:Helios jar with Main-class attribute in manifest only deploys to one location
Goto Forum:
  


Current Time: Fri Jul 25 05:14:38 EDT 2014

Powered by FUDForum. Page generated in 0.03105 seconds