Action class [] not found-action-file:/D:/apache-tomcat

Source: Internet
Author: User

SSH integration exception: action not found.

Check Procedure:

1. Check whether the value of the class Attribute corresponding to the action in your struts. xml file can be found in the Spring configuration file.
2. If you are sure that your configuration is correct, the package is missing when you import the package. At this time, check whether there are the following three jar packages in your project, struts2-spring-plugin-2.0.11.1.jar, commons-fileupload-1.2.1.jar and commons-io-1.3.2.jar.
3. If the same error persists after the jar package is imported, you need to clear the cache or redeploy the project to solve the problem.

Exception 2: java. lang. NoSuchMethodError:
Ognl. SimpleNode. isEvalChain (Lognl/OgnlContext;) Z

This problem usually occurs in the ognl package.

Struts is used struts2.3.1.2 this version of struts requires ognnl for ognl-3.0.4.jar
If you change the package, the exception disappears.


Author: yy008871

Related Article

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.