问题描述
请强人协助(急):我在struts配置文件中加载<plug-inclassName="net.sf.struts.saif.SAIFSpringPlugin">的时候抛错。错误信息如下:2010-01-0614:31:39,218INFO[net.sf.struts.saif.SAIFSpringPlugin]LoadingthesaifrequestprocessorwithoutTilessport2010-01-0614:31:39,234FATAL[org.apache.struts.tiles.TilesPlugin]TilesPlugin:SpecifiedRequestProcessornotcompablewithTilesRequestProcessor2010-01-0614:31:39,234ERROR[org.apache.struts.action.ActionServlet]UnabletoinitializeStrutsActionServletduetanunexpectedexceptionorerrorthrown,somarkingtheservletasunavailable.Mostlikely,thisisduetoanincorrtormissinglibrarydependency.javax.servlet.ServletException:TilesPlugin:SpecifiedRequestProcessornotcompatiblewithTilesRequestProcessoratorg.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:372)atorg.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:133)atorg.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)atorg.apache.struts.action.ActionServlet.init(ActionServlet.java:336)atjavax.servlet.GenericServlet.init(GenericServlet.java:212)atorg.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)atorg.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)atorg.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4230)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)atorg.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:736)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)atorg.apache.catalina.core.StandardService.start(StandardService.java:448)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:700)atorg.apache.catalina.startup.Catalina.start(Catalina.java:552)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:585)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)2010-01-0614:31:39,312INFO[org.apache.catalina.core.ApplicationContext]Markingservletactionasunavailable2010-01-0614:31:39,312ERROR[org.apache.catalina.core.StandardContext]Servlet/BIOPthrewload()exceptionjavax.servlet.UnavailableException:TilesPlugin:SpecifiedRequestProcessornotcompatiblewithTilesRequestProcessoratorg.apache.struts.action.ActionServlet.init(ActionServlet.java:368)atjavax.servlet.GenericServlet.init(GenericServlet.java:212)atorg.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)atorg.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)atorg.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)atorg.apache.catalina.core.StandardContext.start(StandardContext.java:4230)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)atorg.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)atorg.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1150)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)atorg.apache.catalina.core.StandardHost.start(StandardHost.java:736)atorg.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)atorg.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)atorg.apache.catalina.core.StandardService.start(StandardService.java:448)atorg.apache.catalina.core.StandardServer.start(StandardServer.java:700)atorg.apache.catalina.startup.Catalina.start(Catalina.java:552)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:585)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)2010-01-0614:31:39,406INFO[org.apache.catalina.core.ApplicationContext]InitializingSpringFrameworkServlet'remong'
解决方案
解决方案二:
Mostlikely,thisisduetoanincorrtormissinglibrarydependency.说是有最有可能缺少包。查查看吧。
解决方案三:
我检查了,不缺什么包哦
解决方案四:
我也遇到了这样的问题,可是,为什么没人来回答怎么解决呢?
解决方案五:
请楼主揭帖!@!!!!!!!!!!!!!!!!!!!!!