The problem of SSH2 frame ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.