为了账号安全,请及时绑定邮箱和手机立即绑定

启动时报错,页面访问不了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


正在回答

1 回答

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

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信