Description:
The bean ‘personnel.FeignClientSpecification’, defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
Solution 1:
Applicati.yml configuration file is added to allow duplicate names
Solution 2:
Write together the contents of different feign interfaces called by the same microservice
Write the contents of the two interfaces together
Read More:
- [Solved] Spring integrates canal to call feign error: pool-1-thread-1
- Microservice call exceptions: error feign.RetryableException: Read timed out executing POST http://xxx…….
- [Solved] Feign Call Port Error: HttpMessageNotReadableException:JSON parse error:Illegal character ((CTRL-CHAR, code 31)
- feign.codec.EncodeException: Type definition error: [simple type, class java.util.Collections$3]
- Feign Error: Load balancer does not have available server for client:XXX
- How to Solve Error-SpringCloud-Feign and Sentinel integrate error
- Feign calls cannot use “_” to report errors [How to Solve]
- [Solved] Internal error (java.lang.IllegalStateException): Duplicate key org.jetbrains
- [Solved] stream Convert list to map Error: java.lang.IllegalStateException: Duplicate key
- [Solved] java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed
- [Solved] cannot call sendError() after the response has been committed
- [Solved] Openfegn Remote Call Error: java.lang.NullPointerException: null
- [Redirect anomaly] Cannot call sendRedirect() after the response has been committed
- [Solved] Cannot call sendError() after the response has been committed
- [Solved] Rocketmq remote connection error: sendDefaultimpl call timeout
- Cannot call sendRedirect() after the response has been committed
- [Solved] HttpPost Call https Interface error: PKIX path building failed
- Using java to call Jython, the error URI is not hierarchical
- [Solved] Java.lang.BootstrapMethodError: call site initialization exception
- [Solved] port (127.0.0.1:64444): java.net.SocketException “Interrupted function call: accept failed“