springboot和springcloud的版本问题


问题描述:

  在springboot的项目中整合gateway时运行出错。控制台提示:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

 解决问题:

  这是springboot和springcloud的版本对应出现了问题。开始的版本分别是 2.2.4 RELEASE Hoxton.SR9,在官网上面推荐的搭配是2.2.6 RELEASE Hoxton.SR9。修改后解决问题。

附官网连接:Spring Cloud Hoxton Release Notes · spring-cloud/spring-cloud-release Wiki · GitHub