亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

啟動出現了錯誤,請問該怎么解決?

啟動出現了錯誤,請問該怎么解決?

夢里花落0921 2023-03-13 16:12:49
rg.springframework.beans.factory.BeanCreationException:Error creating bean with name 'authenticationProcessingFilterEntryPoint' defined in ServletContext resource [/WEB-INF/classes/spring/applicationContext-security.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint.<init>()at
查看完整描述

1 回答

?
POPMUISE

TA貢獻1765條經驗 獲得超5個贊

這個報錯描述主要是這么兩句:

  1. Error creating bean with name 'authenticationProcessingFilterEntryPoint' defined in ServletContext resource [/WEB-INF/classes/spring/applicationContext-security.xml]

    這說明創建失敗是因為創建一個叫authenticationProcessingFilterEntryPoint的bean失敗了,這個bean配置在applicationContext-security.xml,此時你就可以先從這個描述找到配置文件,然后找到相應的類

  2. No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint.<init>()

    LoginUrlAuthenticationEntryPoint

    失敗的類叫LoginUrlAuthenticationEntryPoint,然后是沒有默認的構造函數

所以建議你先給LoginUrlAuthenticationEntryPoint加一個默認的空的構造函數,再啟動試試


查看完整回答
反對 回復 2023-03-15
  • 1 回答
  • 0 關注
  • 311 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號