File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes HTTP Status 404 - /j_spring_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "HTTP Status 404 - /j_spring_security_check" Watch "HTTP Status 404 - /j_spring_security_check" New topic

HTTP Status 404 - /j_spring_security_check

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi with spring mvc 3.0.5 and spring security 4.3.0, my login thrown the following error exception:

HTTP Status 404 - /j_spring_security_check

here is my security-config.xml file:

servlet-context.xml file:

web.xml file:

IF I change the url-pattern to /*, it will break part of my controller mapping, but with / mapping, it breaks the security login mapping.

Any suggestion is very well appreciated.
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Here is my login page:

login controller:

It is sorta covered in the JavaRanch Style Guide.
subject: HTTP Status 404 - /j_spring_security_check
Similar Threads
[Spring Security] No bean named 'springSecurityFilterChain' is defined
Spring security 3.0
Exception while running the Spring example
Spring security and jsf Integration
spring security 3.1 login not working.