等属性</p> <p>最后通过注解<code>@EnableEurekaServer</code>来启用注册中心</p> <div class="language-java extra-class"><pre class="language-java"><code><span class="token annotation punctuation">@EnableEurekaServer</span>
<span class="token annotation punctuation">@SpringBootApplication</span>
<span class="token keyword">public</span> <span class="token keyword">class</span> <span class="token class-name">ServiceServerApplication</span> <span class="token punctuation">{</span>
    
    
<span c