Caused by: java.net.ProtocolException: Invalid HTTP method: PATCH at java.base/java.net.HttpURLConnection.setRequestMethod(HttpURLConnection.java:489) at java.base/sun.net.www.protocol.http.HttpURLConnection.setRequestMethod(HttpURLConnection.java:598) at feign.Client$Default.convertAndSend(Client.java:171) at feign.Client$Default.execute(Client.java:105) at org.springframework.cloud.openfeign.loadbalancer.LoadBalancerUtils.executeWithLoadBalancerLifecycleProcessing(LoadBalancerUtils.java:56) at org.springframework.cloud.openfeign.loadbalancer.RetryableFeignBlockingLoadBalancerClient.lambda$execute$2(RetryableFeignBlockingLoadBalancerClient.java:189) at org.springframework.retry.support.RetryTemplate.doExecute(RetryTemplate.java:329) at org.springframework.retry.support.RetryTemplate.execute(RetryTemplate.java:225) at org.springframework.cloud.openfeign.loadbalancer.RetryableFeignBlockingLoadBalancerClient.execute(RetryableFeignBlockingLoadBalancerClient.java:136) at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:100) ... 183 more
Feign client is not working with @Patchmapping or PATCH method
18 Views Asked by Santhoshkannan At
1
There are 1 best solutions below
Related Questions in SPRING-BOOT-3
- @PostConstruct annotation in java 8 jar not being called by spring boot 3 application
- Feign client is not working with @Patchmapping or PATCH method
- Spring boot 3 monitoring (observation, metrics)
- Duplicate parents after upgrading to Spring boot 3.2.x(hibernate 6) while using entity graph
- SpringBoot3 filter requests based on a specific claims
- Maven plugin 100% compatible Java21 to generate stub classes from WSDL file and generate *.wsdl from java classes? A solution
- Mockito it's instantiating with null the builder in the mocked class
- Swagger UI 3 Authorization header value getting issue in spring boot 3
- Dynamically adding "active" class to a link based on the current url in thymeleaf and spring boot 3
- Spring Boot 3.1 migration- No qualifying bean of type 'reactor.netty.http.client.HttpClient' available
- I/O error on POST request for API: HTTP/1.1 header parser received no bytes
- Opensearch Reindex with Date field format change
- BaggagedField update value not working in SpringBootTest after migrating from Spring boot 2.7.x to 3.2.3
- Customised Repository with JpaRepository not working Spring boot 3.2.3
- Opensearch Springboot : When starting App getting Jackson Error
Related Questions in OPENFEINT
- Feign client is not working with @Patchmapping or PATCH method
- How to change form data body feign client interceptor
- Migrate from openFeint to Gree platform
- GREE(Open feint) in ios - Update score not working in test account
- What is the advantage of using OpenFeint or Game Center?
- how to get current player rank in openfeint in android app
- ios scoreboard/achievements for games
- How can i get a product key for Openfeint in Corona?
- How to show iOS GameCenter 'dashboard' within a game?
- OpenFeint with cocos2d-x (iOS and Android)
- Creating OpenFeint static library for iOS
- Simulator Works, Device Doesn't?
- Dealing with asynchronous callbacks in Java
- Crash in Android Native while changing to new Activity
- Android: Scoreloop vs OpenFeint
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Just found the answer which worked for me yesterday...
add the below dependency to pom or any build config
and add the below bean method for initialisation of okhttp
@FeignClient(name = "<1feign name>", configuration = { FeignConfiguration.class }) public interface ProductService {
"FeignConfiguration" should be added in this configuration class @Bean public OkHttpClient client() { return new OkHttpClient(); }