longzhiwuing opened a new issue, #4405:
URL: https://github.com/apache/shenyu/issues/4405

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   I have followed the 
[guide](https://shenyu.apache.org/zh/docs/quick-start/quick-start-http) to 
built my gateway project. But it failed to start and said The following method 
did not 
exist:org.springframework.http.codec.ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize(I)V
   
   ### Expected Behavior
   
   start successfully
   
   ### Steps To Reproduce
   
   spring-web:5.1.9.release
   
   add pom info from guide
   
   
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.5.1
   ```
   
   
   ### Debug logs
   
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   An attempt was made to call a method that does not exist. The attempt was 
made from the following location:
   
       
org.apache.shenyu.springboot.starter.plugin.httpclient.HttpClientPluginConfiguration$WebClientConfiguration.lambda$webClientPlugin$0(HttpClientPluginConfiguration.java:244)
   
   The following method did not exist:
   
       
org.springframework.http.codec.ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize(I)V
   
   The method's class, 
org.springframework.http.codec.ClientCodecConfigurer$ClientDefaultCodecs, is 
available from the following locations:
   
       
jar:file:/Users/xdf-lzw/softwares/devtools/mavenJars/repository/org/springframework/spring-web/5.1.9.RELEASE/spring-web-5.1.9.RELEASE.jar!/org/springframework/http/codec/ClientCodecConfigurer$ClientDefaultCodecs.class
   
   It was loaded from the following location:
   
       
file:/Users/xdf-lzw/softwares/devtools/mavenJars/repository/org/springframework/spring-web/5.1.9.RELEASE/spring-web-5.1.9.RELEASE.jar
   
   
   Action:
   
   Correct the classpath of your application so that it contains a single, 
compatible version of 
org.springframework.http.codec.ClientCodecConfigurer$ClientDefaultCodecs
   
   ### Anything else?
   
   the latest version did not support spring-web:5.1.9.release
   
   
![image](https://user-images.githubusercontent.com/5849090/221151818-778f1a08-1192-4b6c-988d-a04f989c7d46.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to