错误信息
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.etoak.EurekaApp]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
引发原因:依赖导入错误
解决办法:引入下边的maven依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
最后打开 localhost:8761查看是否开启