Registered in the micro-services architecture framework Springcloud Eureka-sever first step as a service component discovery, the need for a series of configuration. After completing the basic preparatory work, run.
figure 1
It found that when loading the configuration file, there have been many mistakes, but with other types of error of different online. We need to convert the project to a web project Springboot, need to be introduced
But in the registration link eureka-server, introducing the above web dependence will lead client can not be started, an error such as Figure 1 , we need to do is to eureka configuration of the model in the project
Annotations off starter-web dependent. After completion of the start, the results in FIG. 2
figure 2