1 回答

TA貢獻(xiàn)1765條經(jīng)驗(yàn) 獲得超5個(gè)贊
這個(gè)報(bào)錯描述主要是這么兩句:
Error creating bean with name 'authenticationProcessingFilterEntryPoint' defined in ServletContext resource [/WEB-INF/classes/spring/applicationContext-security.xml]
這說明創(chuàng)建失敗是因?yàn)閯?chuàng)建一個(gè)叫authenticationProcessingFilterEntryPoint的bean失敗了,這個(gè)bean配置在applicationContext-security.xml,此時(shí)你就可以先從這個(gè)描述找到配置文件,然后找到相應(yīng)的類
No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint.<init>()
LoginUrlAuthenticationEntryPoint
失敗的類叫LoginUrlAuthenticationEntryPoint,然后是沒有默認(rèn)的構(gòu)造函數(shù)
所以建議你先給LoginUrlAuthenticationEntryPoint加一個(gè)默認(rèn)的空的構(gòu)造函數(shù),再啟動試試
- 1 回答
- 0 關(guān)注
- 317 瀏覽
添加回答
舉報(bào)