Java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFil

Source: Internet
Author: User

Project start times wrong: Java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

The jar package version number of the STRUTS2 is 2.1.8, so the class name is no error, and the jar package does join in. The jar package is added by using the user Library.

The problem is solved by copying the jar package to the Lib folder directory under Web-inf and restarting the Tomcat problem resolution.

==========================================

Why is the jar added by the user libraries invalid, and the copy into the Lib directory can? And why are common Java projects (non-web projects) available through user libraries?

Another blogger in Csdn has explained clearly that the link address is as follows: http://blog.csdn.net/qiulongtianshi/article/details/8520854

Java.lang.ClassNotFoundException:org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFil

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.