我的配置大概如下:
<http>
<http>
<http>
<intercept-url>
<csrf>
<form-login>
<logout>
/<http>
<http>
<intercept-url>
<intercept-url>
<csrf>
<form-login>
<logout>
/<http>
問題描述
啟動時提示下面錯誤:
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 <http> namespace or FilterChainProxy bean configuration/<http>
我都沒有配置 /** 這個是什麼原因呢?我的配置哪裡出問題了?
閱讀更多 Java小可愛 的文章