You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "longzhiwuing (via GitHub)" <gi...@apache.org> on 2023/02/24 10:09:31 UTC

[GitHub] [shenyu] longzhiwuing opened a new issue, #4405: [BUG] ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize did not exist

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: notifications-unsubscribe@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] yu199195 closed issue #4405: [BUG] ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize did not exist

Posted by "yu199195 (via GitHub)" <gi...@apache.org>.
yu199195 closed issue #4405: [BUG] ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize did not exist
URL: https://github.com/apache/shenyu/issues/4405


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] iwangjie commented on issue #4405: [BUG] ClientCodecConfigurer$ClientDefaultCodecs.maxInMemorySize did not exist

Posted by "iwangjie (via GitHub)" <gi...@apache.org>.
iwangjie commented on issue #4405:
URL: https://github.com/apache/shenyu/issues/4405#issuecomment-1445028905

   hi, Do you want to try spring-web upgrade to 5.3. 20 to fix this problem.


-- 
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: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org