Spring security configuration, prompts A universal match pattern ('/ * *) error

:
<http pattern="/css/**" security="none"/>
<http pattern="/login1.jsp*" security="none"/> <!--  -->

<http >
    <intercept-url pattern="/test/**" access="hasRole("ROLE_ADMIN")" />
    <csrf disabled="true"/>  <!-- token -->
    <form-login login-page="/login1.jsp"  />
    <logout logout-url="/logout1" logout-success-url="/"/>  
</http>

 <http  entry-point-ref="restAuthenticationEntryPoint">
     <intercept-url pattern="/test2/**" access="hasRole("ROLE_ADMIN")" />
     <intercept-url pattern="/**" access="hasRole("ROLE_USER")" />
    <csrf disabled="true"/>  
    <form-login login-page="/login1.jsp"  />
    <logout logout-url="/logout1" logout-success-url="/"/>  
</http>

problem description

prompt the following error at startup:

Caused by: java.lang.IllegalArgumentException: A universal match pattern ("/ * *") is defined before other patterns in the filter chain, causing them to be ignored. Please check the ordering in your < security:http > namespace or FilterChainProxy bean configuration

I didn"t even configure / * what"s the reason for this? What"s wrong with my configuration?

Feb.16,2022

the community is not active, no one answers, close.

Menu