Problem Description:
Two remote call classes are created, one is to call refund and the other is to call discount
But the two calling classes are the same microservice called
All called @feignclient (value = “XXX shop”)
How to solve it: the interfaces of the same service should not be written in multiple interface classes, but be placed in the same interface class to define calls
Similar Posts:
- Spring cloud uses feignclient to start and report an error
- [Solved] IllegalArgumentException: object is not an instance of declaring class
- [How to Solve] java.lang.IncompatibleClassChangeError
- Fatal error: Call-time pass-by-reference has be…
- the user operation is waiting for “Building workspace” to complete
- Spring Cloud Openfeign Get Request 405 Error [How to Solve]
- [Solved] MYSQL Error: SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]
- Solve the problem of “java.lang.UnsatisfiedLinkError: Native Library .dll already loaded in another classloader”