当前位置: 首页 > news >正文

合优网招聘站长之家seo查询官方网站

合优网招聘,站长之家seo查询官方网站,制作灯笼英语,网站设计公司成都在启动SpringBoot项目时,提示一堆的Positive matches、Negative matches(如下代码框),感觉像是报错了样。但用SpringBoot的Test类操作数据库的Insert是成功的。提示这些信息通过网上搜索主要讲配置类被Spring容器加载与被加载的说明。名词解释…

  在启动SpringBoot项目时,提示一堆的Positive matches、Negative matches(如下代码框),感觉像是报错了样。但用SpringBoot的Test类操作数据库的Insert是成功的。提示这些信息通过网上搜索主要讲配置类被Spring容器加载与被加载的说明。名词解释如下:

  • Positive matches:@Conditional条件为真,配置类被Spring容器加载。
  • Negative matches: @Conditional条件为假,配置类未被Spring容器加载。
  • Exclusions: 应用端明确排除加载配置
  • Unconditional classes: 自动配置类不包含任何类级别的条件,也就是说,类始终会被自动加载。
2023-11-23 22:19:06.345 [DEBUG]  [main] o.s.c.s.DefaultLifecycleProcessor - Starting beans in phase -2147483647 
2023-11-23 22:19:06.345 [DEBUG]  [main] o.s.c.s.DefaultLifecycleProcessor - Successfully started bean 'springBootLoggingLifecycle' 
2023-11-23 22:19:06.348 [DEBUG]  [main] o.s.b.a.l.ConditionEvaluationReportLoggingListener - ============================
CONDITIONS EVALUATION REPORT
============================Positive matches:
-----------------ConfigurationPropertiesRebinderAutoConfiguration matched:- @ConditionalOnBean (types: org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor; SearchStrategy: all) found bean 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor' (OnBeanCondition)ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesBeans matched:- @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesBeans; SearchStrategy: current) did not find any beans (OnBeanCondition)ConfigurationPropertiesRebinderAutoConfiguration#configurationPropertiesRebinder matched:- @ConditionalOnMissingBean (types: org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder; SearchStrategy: current) did not find any beans (OnBeanCondition)EncryptionBootstrapConfiguration matched:- @ConditionalOnClass found required class 'org.springframework.security.crypto.encrypt.TextEncryptor' (OnClassCondition)EncryptionBootstrapConfiguration#keyProperties matched:- @ConditionalOnMissingBean (types: org.springframework.cloud.bootstrap.encrypt.KeyProperties; SearchStrategy: all) did not find any beans (OnBeanCondition)PropertyPlaceholderAutoConfiguration#propertySourcesPlaceholderConfigurer matched:- @ConditionalOnMissingBean (types: org.springframework.context.support.PropertySourcesPlaceholderConfigurer; SearchStrategy: current) did not find any beans (OnBeanCondition)Negative matches:
-----------------EncryptionBootstrapConfiguration.RsaEncryptionConfiguration:Did not match:- Keystore nor key found in Environment (EncryptionBootstrapConfiguration.KeyCondition)Matched:- @ConditionalOnClass found required class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition)EncryptionBootstrapConfiguration.VanillaEncryptionConfiguration:Did not match:- @ConditionalOnMissingClass found unwanted class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition)Exclusions:
-----------NoneUnconditional classes:
----------------------None


  虽然不影响功能,但看起来受不了。于是一顿搜索,网上有说在yml里面配置springframework日志为info或error,或配置logging日志都不对。突然间查看日志打开【DEBUG】,恍然大悟自己的工程文件中配置有logback.xml,于是在里修改日志级别为INFO就不会打印烦人的加载信息了。

<?xml version="1.0" encoding="UTF-8"?>
<configuration><!--CONSOLE :表示当前的日志信息是可以输出到控制台的。--><appender name="Console" class="ch.qos.logback.core.ConsoleAppender"><encoder><pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%level]  %cyan([%thread]) %boldGreen(%logger{15}) - %msg %n</pattern></encoder></appender><logger name="com.itheima" level="INFO" additivity="false"><appender-ref ref="Console"/></logger><!--level:用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF, 默认debug<root>可以包含零个或多个<appender-ref>元素,标识这个输出位置将会被本日志级别控制。--><root level="INFO"><appender-ref ref="Console"/></root>
</configuration>

参考地址:

https://www.cnblogs.com/ithg/p/15661021.html

参考地址:

了解Spring Boot的自动配置-腾讯云开发者社区-腾讯云

http://www.laogonggong.com/news/41635.html

相关文章:

  • 做电商的网站网站推广优化方案
  • 龙岗永湖网站建设百度百科入口
  • 手机网站建设seo 优化 服务
  • 政府网站建设需要哪些模块百度搜图匹配相似图片
  • 网站首页空白 wordpress全网关键词云在哪里看
  • 为什么要用h5建站上海抖音seo公司
  • 响应式网站视频怎么做主要推广手段免费
  • 惠州开发做商城网站建设哪家好国外产品推广平台
  • 设计网站pc版百度竞价推广的技巧
  • 怎样做seo网站链接镇江关键字优化品牌
  • 徐州梦网科技做网站怎么样手机清理优化软件排名
  • 网站背景素材sem优化策略
  • 任丘做网站价格中国销售网
  • 无锡网站建设价格低全国疫情最新数据
  • 网站建设课程设计文献综述网络推广文案有哪些
  • 濮阳做网站seo研究协会网
  • 营口市网站建设网站推广论坛
  • 国外那些网站是做五金饰品批发代写文章
  • 网站建设合同中英文年度关键词
  • 母版做双语网站seo资源网站 排名
  • 太原网站建设推广微信seo什么意思
  • 接网站建设单子的网站国内免费顶级域名注册
  • 加强关工委网站建设长沙推广引流
  • 电子商务 网站系统策划网络营销方案
  • 大良网站建设价格百度关键词排名查询工具
  • 园林景观设计公司做抖音推广网络营销企业网站优化
  • 我想给企业做网站怎么做seo页面优化的方法
  • 河南建设银行招聘网站锦州seo推广
  • 独立做网站前端数据创意营销
  • 户外网站设计域名注册 阿里云