Java.lang.RuntimeException:Invalid Action class configuration references an unknown class Nam

Source: Internet
Author: User
It may be that your configuration does not have this class or you do not have a corresponding operation on the returned parameters.
I was using struts2.1 once is the return string is not configured all have this problem

Just can't find the class you want to use, are you sure that your class is called studentaction? Is it wrong to write, the general class of the first letter is capitalized, such as Studentaction. Java is case sensitive

Ava.lang.RuntimeException:Invalid Action class configuration references an unknown class named error

This question was hit by me today, so lucky!!!

Online search, summed up the most is the configuration file or the field is wrong to write the reason. But I found my no config file, just a rewrite validate method

The whole process is verification, my main problem is: Login sometimes success, sometimes fail. Report java.lang.RuntimeException Error!

Also prompt for ClassNotFound error, think of struts2 configuration, default to Sington mode, if you are not configured in spring. That you want to log in at the same time multiple users will appear this exception, the spring scope to change the prototype property.

Java.lang.RuntimeException:Invalid Action class configuration references an unknown class Nam

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.