Using Spring and Struts together gives no error
message in the console, but only a:
HTTP Status 404 – Servlet action is not available
in the Browser.
The logs give no clue whatsoever.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When Struts’ action servlet fails to startup for whatever reason,
the resulting error can be as above.
In my case – struts using springs spring-struts integration –
the necessary spring jars (esp. spring-struts) were missing from the
class path of my web application.
The following maven dependencies worked:
Note: if you don’t use spring-security you can very likely drop the spring-security related dependencies, also the exclusion in spring-struts was necessary to include the latest struts version instead of 1.2.9