错误信息:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.SsoServerApplication]; nested exception is java.lang.IllegalStateException: Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpointAutoConfiguration
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:597) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.access900(ConfigurationClassParser.java:109)[spring−context−5.2.2.RELEASE.jar:5.2.2.RELEASE]atorg.springframework.context.annotation.ConfigurationClassParser900(ConfigurationClassParser.java:109) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE] at org.springframework.context.annotation.ConfigurationClassParser900(ConfigurationClassParser.java:109) [spring−context−5.2.2.RELEASE.jar:5.2.2.RELEASE]atorg.springframework.context.annotation.ConfigurationClassParserDeferredImportSelectorGroupingHandler.lambda$processGroupImports1(ConfigurationClassParser.java:805)[spring−context−5.2.2.RELEASE.jar:5.2.2.RELEASE]atjava.util.ArrayList.forEach(ArrayList.java:1257)[na:1.8.0161]atorg.springframework.context.annotation.ConfigurationClassParser1(ConfigurationClassParser.java:805) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE] at java.util.ArrayList.forEach(ArrayList.java:1257) ~[na:1.8.0_161] at org.springframework.context.annotation.ConfigurationClassParser1(ConfigurationClassParser.java:805) [spring−context−5.2.2.RELEASE.jar:5.2.2.RELEASE]atjava.util.ArrayList.forEach(ArrayList.java:1257) [na:1.8.01​61]atorg.springframework.context.annotation.ConfigurationClassParserDeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:801) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:771) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:188) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:325) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:242) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:275) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:95) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:706) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532) ~[spring-context-5.2.2.RELEASE.jar:5.2.2.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) ~[spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.2.2.RELEASE.jar:2.2.2.RELEASE]

解决办法:在yaml文件中带单引号不报错,但是properties文件中不能带
management:
endpoints:
web:
exposure:
include: '
在properties中应该修改为:
management.endpoints.web.exposure.exclude=

Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpoi相关推荐

  1. Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAuto

    springboot 报错 Error processing condition on org.springframework.boot.autoconfigure.context.PropertyP ...

  2. java.lang.ClassNotFoundException org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEnd

    spring cloud alibaba dubbo集成出现 java.lang.ClassNotFoundException: org.springframework.boot.actuate.au ...

  3. 出现 **caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.en

    出现 caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.endpo ...

  4. java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEnd

    https://blog.csdn.net/lixiangfei4/article/details/103911293

  5. org/springframework/boot/actuate/metrics/cache/CacheMeterBinderProvider not found. Make sure your ow

    报错信息如下 java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.act ...

  6. springcloud-eureka启动报错,提示The following method did not exist: org.springframework.boot.actuate.health

    报错信息汇总 文章目录 报错信息汇总 1.springcloud-eureka启动报错,提示The following method did not exist: org.springframewor ...

  7. org.springframework.boot.actuate.endpoint.EndpointId cannot be cast to java.lang.String 异常处理

    转自:https://blog.csdn.net/qq_38906421/article/details/84028240 java.lang.ClassCastException:    org.s ...

  8. jrebel java.lang.ClassCastException: org.springframework.boot.actuate.endpoint.annotation

    在看开源项目 xxl-job 时,使用jrebel启动报错: Caused by: java.lang.ClassCastException: org.springframework.boot.act ...

  9. Tomcat 部署多个SpringBoot 项目:ERROR org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter

    今天在公司的测试服务器上Tomcat部署多个SpringBoot项目,启动提示如下错误信息: 2022-02-15 09:43:25.177 [localhost-startStop-1] ERROR ...

最新文章

  1. jQuery Mobile 笔记(1)- jQuery Mobile页面结构
  2. Inside dependency property
  3. oracle安装显示注册表,windows下oracle 11g r2 安装过程与卸载详细图解
  4. 7、JPA-映射-双向一对多
  5. ACM-ICPC 2018 南京赛区网络预赛 Lpl and Energy-saving Lamps 线段树
  6. android 照片旋转并保存
  7. Visio 安装与操作小结
  8. 如何使用SQL语句根据经纬度计算距离
  9. python爬虫基础详解
  10. FFmpeg一些感想
  11. 解决 required a bean of type ‘com.aliyun.oss.OSSClient‘ that could not be found
  12. 【Faster R-CNN论文精度系列】原文精析
  13. 苹果发布iOS10.2.1 ,别升级!别问为什么
  14. 每个计算机主机只有一个硬盘吗,电脑多加一个硬盘需要重装系统吗? 电脑如何新增加一块硬盘...
  15. 数据结构之B树、B+树、B*树
  16. 组件的生命周期,小程序如何引入第三方ui框架
  17. 618微信小程序电商销售数据出炉(附完整报告)
  18. 如何开放云服务器的端口
  19. .NET CoreMVC添加登录过滤器
  20. 《小强升职记》读书笔记(附PDF下载地址)

热门文章

  1. WiFi产品抗干扰设计
  2. 用JS 来简单计算一下现在距离9月10号还有几天几时几分几秒
  3. 灭屏流程 - 安卓R
  4. [NOI2017]蔬菜
  5. Javascript-蔬菜运算价格
  6. 如何在Google表格中添加当前日期和时间
  7. java hypot_Java StrictMath hypot()方法
  8. 学习3dmax(三)
  9. 保护环境从我做起(10件力所能及之事)
  10. LAMMPS模拟in和data文件集合