started Tomcat today, unexpectedly error.
Severity: Exception Starting filter Struts2
ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.
It means that the jar package is missing Struts2. No, there was no such problem when I started it before. So check the Lib folder, jar package everything. Suddenly think otherwise clear the Tomcat cache. So I cleaned it up and started Tomcat again, so the problem went away.
It seems that in the future encounter problems, the first thing to do is to clear the Tomcat cache and try again ah. Just like the computer has a problem, the first reaction is to put the memory, graphics card and so on and then plug it again. Although do not know why, but often has the miraculous! Ha ha.
Attached: Tomcat clears the cache method.
1. Select project in the Eclipse or MyEclipse menu bar, select Clean, and then select the item you want to clear the cache for. However, this method may not clean up.
2. Under the work directory of the Tomcat installation directory, there is a folder called Catalina, delete the folder. This method can completely erase the cache.
The problem of SSH2 frame ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter