Java常見錯誤總結

1. Parameter 0 of method modifyResponseBodyGatewayFilterFactory in org.springframework.cloud.gateway.config.GatewayAutoConfiguration required a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' that could not be found.

參考鏈接:https://blog.csdn.net/qq_39415129/article/details/100118092

  • 解決方法:

2. 未通過 @EnableConfigurationProperties 註冊、標記爲 Spring 組件或通過 @ConfigurationPropertiesScan 掃描

參考鏈接:https://blog.csdn.net/li1325169021/article/details/116768787

  • 解決方法:

3.項目重新加載Pom.xml文件

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章