The error report is shown in the figure above,
POM file plus
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
Just restart this,
Just add this annotation to the startup class
@EnableEurekaClient
Read More:
- [Solved] Error in registering Eureka for spring cloud micro service: classnotfoundexception: org.apache.http.conn.scheme.schemeregistry
- Common errors reported by Eureka in spring cloud
- After introducing security, the service cannot be registered with Eureka
- Not registered via @EnableConfigurationProperties or marked as Spring component
- Solution of redisconnection factory in springboot2 not Autowired
- When the mybatis field contains an expression, an error is reported when it is stored in the database
- Spring cloud is a big hole. Failed to start bean ‘eurekaAutoServiceRegistration’
- ‘dependencies.dependency.version‘ for org.springframework.cloud:spring-cloud-starter-openfeign:jar
- An error is reported when springboot starts: error creating bean with name ‘XXXX’
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- Add PageHelper spring boot starter dependency to springboot and report an error
- When the springcloud obtains the cloud link database information, an error is reported: errorcode 1045, state 28000
- When the spring MVC project is running on idea, an error is reported when the controller is a null pointer
- When Maven hits the jar package, an error is reported when executing install, and the symbol cannot be found in a line
- Pychar reported an error. Unable to set the python SDK in Python 3.8. This SDK appears to be invalid.
- Using openfeign to remotely call the startup program to report an error
- An error is reported when executing MVN. The diamond operator is not supported in source-1.5
- An error is reported when installing the package directly in pycharm, but it can be installed through the terminal. Error non zero exit code (2)
- Spring boot running appears java.lang.IllegalStateException : Failed to load ApplicationContext
- SpringCloud GateWay Failed to instantiate [org.springframework.cloud.gateway.discovery.DiscoveryL…