Java j_spring_安全检查-请求的资源不可用

Java j_spring_安全检查-请求的资源不可用,java,spring,spring-mvc,spring-security,Java,Spring,Spring Mvc,Spring Security,发送我的登录表单不起作用。 我在发送登录表单时收到消息“请求的资源不可用”,该表单使用标准过滤器访问/j_spring_security_check My application-servlet.xml: <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http:/

发送我的登录表单不起作用。 我在发送登录表单时收到消息“请求的资源不可用”,该表单使用标准过滤器访问/j_spring_security_check

My application-servlet.xml:

<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:security="http://www.springframework.org/schema/security"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-4.0.xsd">

<!-- enable use-expressions -->
<http auto-config="true" use-expressions="true">

    <intercept-url pattern="/inside**" access="hasRole('ROLE_USER')" />

    <!-- access denied page -->
    <access-denied-handler error-page="/403" />

    <form-login 
        login-page="/login" 
        default-target-url="/welcome" 
        authentication-failure-url="/login?error" 
        username-parameter="username"
        password-parameter="password" />

    <logout logout-success-url="/login?logout"  />

    <!-- enable csrf protection -->
    <csrf/>
</http>

<!-- Select users and user_roles from database -->
<authentication-manager>
  <authentication-provider>
    <jdbc-user-service data-source-ref="dataSource"
      users-by-username-query=
        "select email,password from users where username=?" />
  </authentication-provider>
</authentication-manager>

<http auto-config="false" entry-point-ref="authenticationProcessingFilterEntryPoint">

    <intercept-url pattern="/resettingPassword.do**" access="ROLE_ADMIN" />
    <intercept-url pattern="/resetPassword.do**" access="ROLE_ADMIN" />
    <logout logout-success-url="/index.jsp" invalidate-session="true" />
</http>


看来你失踪了

login-processing-url="/j_spring_security_check" 

在您的
中,您似乎丢失了

login-processing-url="/j_spring_security_check" 

在您的
中,您似乎丢失了

login-processing-url="/j_spring_security_check" 

在您的
中,您似乎丢失了

login-processing-url="/j_spring_security_check" 

在您的
中,请向我们显示您登录的表单。我刚接触Spring,但我可以告诉你,我的工作应用程序没有重复的表单配置。请向我们显示您登录的表单。我刚接触Spring,但我可以告诉你,我的工作应用程序没有重复的表单配置。请向我们显示您登录的表单。我刚接触Spring,但我可以告诉你,我的工作应用程序没有重复的表单配置。请向我们显示您登录的表单。我对Spring很熟悉,但我可以告诉你,我的工作应用程序没有重复的表单配置。