org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter错误解决
生活随笔
收集整理的這篇文章主要介紹了
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter错误解决
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一月 10, 2017 1:50:21 下午 org.apache.catalina.core.StandardContext filterStart
嚴重: Exception starting filter struts2
java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilterat org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:504)at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:486)at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)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:4958)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)at java.util.concurrent.FutureTask.run(FutureTask.java:266)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at java.lang.Thread.run(Thread.java:745)
今天搭建ssh框架,發現報錯找不到監聽器類,于是看了下JAR包,發現重點多了一個ng,應該是新版本直接去掉了ng
改為
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter即可
轉載于:https://www.cnblogs.com/sblackboy/p/6269131.html
總結
以上是生活随笔為你收集整理的org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter错误解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Java实现几种常见排序方法
- 下一篇: C和C++中include 搜索路径的一