0
点赞
收藏
分享

微信扫一扫

springboot整合 eureka错误


错误信息

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查看是否开启


举报

相关推荐

0 条评论