问答详情
源自:5-1 富文本编辑器的配置和环境搭建

启动时报错,页面访问不了index,jsp

严重: Exception starting filter struts2

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139)

at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:518)

at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:499)

at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)

at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)

at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)

at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4658)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5277)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)


五月 31, 2018 4:58:02 下午 org.apache.catalina.core.StandardContext startInternal

严重: One or more Filters failed to start. Full details will be found in the appropriate container log file

五月 31, 2018 4:58:02 下午 org.apache.catalina.core.StandardContext startInternal

严重: Context [/scxzz] startup failed due to previous errors

五月 31, 2018 4:58:02 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["http-nio-8081"]

五月 31, 2018 4:58:02 下午 org.apache.coyote.AbstractProtocol start

信息: Starting ProtocolHandler ["ajp-nio-8009"]

五月 31, 2018 4:58:02 下午 org.apache.catalina.startup.Catalina start

信息: Server startup in 913 ms


HTTP Status 404 - /scxzz/index.jsp

type Status report

message /scxzz/index.jsp

description The requested resource is not available.


Apache Tomcat/8.0.33


提问者:qq_左手边_3 2018-05-31 17:08

个回答

  • 简铭毅0
    2018-06-30 17:39:27

    struts2配置不正确,可能是包的版本不对导致相关文件没有找到