日期:2014-05-20  浏览次数:20824 次

eclipse里启动tomcat出现的问题,请看看
程序在别人机子上能运行,在我机子上就出现下面的错误,什么原因

信息:   Marking   servlet   actionServlet   as   unavailable
2007-7-25   20:38:18   org.apache.catalina.core.ApplicationContext   log
严重:   Error   loading   WebappClassLoader
    delegate:   false
    repositories:
        /WEB-INF/classes/
---------->   Parent   Classloader:
org.apache.catalina.loader.StandardClassLoader@1f4cbee
  org.apache.struts.action.ActionServlet
java.lang.ClassNotFoundException:   org.apache.struts.action.ActionServlet
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at   org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at   org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at   org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at   org.apache.catalina.core.StandardService.start(StandardService.java:450)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at   java.lang.reflect.Method.invoke(Method.java:585)
at   org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at   org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
2007-7-25   20:38:18   org.apache.catalina.core.StandardContext   loadOnStartup
严重:   Servlet   /login   threw   load()   exception
java.lang.ClassNotFoundException:   org.apache.struts.action.ActionServlet
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at   org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
at   org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
at   org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
at   org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at   org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at   org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at   org.apache.catalina.core.StandardService.start(StandardService.java:450)
at   org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at   org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at   sun.reflect.NativeMethodAccessorImpl.invoke0(Native   Method)
at   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)