Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpoi
错误信息:
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.0161]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相关推荐
- Error processing condition on org.springframework.boot.autoconfigure.context.PropertyPlaceholderAuto
springboot 报错 Error processing condition on org.springframework.boot.autoconfigure.context.PropertyP ...
- java.lang.ClassNotFoundException org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEnd
spring cloud alibaba dubbo集成出现 java.lang.ClassNotFoundException: org.springframework.boot.actuate.au ...
- 出现 **caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.en
出现 caused by: java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.endpo ...
- java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.endpoint.web.WebEnd
https://blog.csdn.net/lixiangfei4/article/details/103911293
- 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 ...
- springcloud-eureka启动报错,提示The following method did not exist: org.springframework.boot.actuate.health
报错信息汇总 文章目录 报错信息汇总 1.springcloud-eureka启动报错,提示The following method did not exist: org.springframewor ...
- 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 ...
- jrebel java.lang.ClassCastException: org.springframework.boot.actuate.endpoint.annotation
在看开源项目 xxl-job 时,使用jrebel启动报错: Caused by: java.lang.ClassCastException: org.springframework.boot.act ...
- Tomcat 部署多个SpringBoot 项目:ERROR org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter
今天在公司的测试服务器上Tomcat部署多个SpringBoot项目,启动提示如下错误信息: 2022-02-15 09:43:25.177 [localhost-startStop-1] ERROR ...
最新文章
- jQuery Mobile 笔记(1)- jQuery Mobile页面结构
- Inside dependency property
- oracle安装显示注册表,windows下oracle 11g r2 安装过程与卸载详细图解
- 7、JPA-映射-双向一对多
- ACM-ICPC 2018 南京赛区网络预赛 Lpl and Energy-saving Lamps 线段树
- android 照片旋转并保存
- Visio 安装与操作小结
- 如何使用SQL语句根据经纬度计算距离
- python爬虫基础详解
- FFmpeg一些感想
- 解决 required a bean of type ‘com.aliyun.oss.OSSClient‘ that could not be found
- 【Faster R-CNN论文精度系列】原文精析
- 苹果发布iOS10.2.1 ,别升级!别问为什么
- 每个计算机主机只有一个硬盘吗,电脑多加一个硬盘需要重装系统吗? 电脑如何新增加一块硬盘...
- 数据结构之B树、B+树、B*树
- 组件的生命周期,小程序如何引入第三方ui框架
- 618微信小程序电商销售数据出炉(附完整报告)
- 如何开放云服务器的端口
- .NET CoreMVC添加登录过滤器
- 《小强升职记》读书笔记(附PDF下载地址)