AdminApplication启动报错

来源:5-1 搭建 SpringBoot Admin 监控服务器

黎庆明0

2022-08-01

2022-08-01 21:41:26.249 WARN 17244 — [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configurationPropertiesBeans’ defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2]
2022-08-01 21:41:26.261 INFO 17244 — [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2022-08-01 21:41:26.317 ERROR 17244 — [ main] o.s.boot.SpringApplication : Application run failed

写回答

1回答

张勤一

2022-08-02

同学你好:

    admin 没有什么代码,大概率就是 pom 文件写错了导致的,建议直接拷贝我的,然后配置下镜像源

1
0

Spring Cloud / Alibaba 微服务架构实战

从架构设计到开发实践,手把手实现

1226 学习 · 674 问题

查看课程