Add openfeign directly to POM
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
Program startup report found
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?
Because the spring boot and spring cloud versions are higher, the loadbalancer dependency needs to be added
The problem is that there is no loadalanc, but note that the ribbon in Nacos will cause the loadalanc package to fail. Add it in the common POM
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-loadbalancer</artifactId>
<version>3.0.3</version>
</dependency>
Read More:
- Integration openfeign failed to start
- Add PageHelper spring boot starter dependency to springboot and report an error
- ‘dependencies.dependency.version‘ for org.springframework.cloud:spring-cloud-starter-openfeign:jar
- Resolve zuul the HTTP status 500 – internal server error error error displayed after startup
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- After Nacos started, the client worker log was printed all the time
- Call Excel to report an error (the exception comes from HResult: 0x80010105 (RPC)_ SERVERFAULT))
- Eureka failed to register error: saw local status change event statuschangeevent
- Springboot modifies the reference of the application.yml or. Properties file to report an error after startup
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- The project uses fastjason to report an error
- CentOS Liunx 7 uses rdesktop to remotely connect to the Alibaba Cloud server and it appears Failed to connect, CredSSP required by server.
- Spring AOP uses AspectJ to report an exception that ‘the reference to the bean “mypointcut” cannot be resolved’
- Anaconda opens Navigator to report an error and a web page appears Navigator Error An unexpected error occurred on Navigator start-up Report
- [Solved] com.alibaba.nacos.api.exception.NacosException: failed to req API
- Raspberry pie startup self startup opencv program script and error analysis
- Spring cloud Alibaba 2020.0.rc1 does not integrate ribbon error reporting unknownhostexception
- Local can link to the server database, upload jar package to the server will report an error
- A call to an OS function failed
- Spring cloud config uses gitee to report auth fail for remote clients