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

手机网站制作设计建网站的论坛

手机网站制作设计,建网站的论坛,绍兴网站建设公司地址,微信小程序注册登录在启动SpringBoot项目时#xff0c;提示一堆的Positive matches、Negative matches#xff08;如下代码框#xff09;,感觉像是报错了样。但用SpringBoot的Test类操作数据库的Insert是成功的。提示这些信息通过网上搜索主要讲配置类被Spring容器加载与被加载的说明。名词解释…  在启动SpringBoot项目时提示一堆的Positive matches、Negative matches如下代码框,感觉像是报错了样。但用SpringBoot的Test类操作数据库的Insert是成功的。提示这些信息通过网上搜索主要讲配置类被Spring容器加载与被加载的说明。名词解释如下 Positive matchesConditional条件为真配置类被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 version1.0 encodingUTF-8? configuration!--CONSOLE 表示当前的日志信息是可以输出到控制台的。--appender nameConsole classch.qos.logback.core.ConsoleAppenderencoderpattern%d{yyyy-MM-dd HH:mm:ss.SSS} [%level] %cyan([%thread]) %boldGreen(%logger{15}) - %msg %n/pattern/encoder/appenderlogger namecom.itheima levelINFO additivityfalseappender-ref refConsole//logger!--level:用来设置打印级别大小写无关TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF 默认debugroot可以包含零个或多个appender-ref元素标识这个输出位置将会被本日志级别控制。--root levelINFOappender-ref refConsole//root /configuration参考地址 https://www.cnblogs.com/ithg/p/15661021.html 参考地址 了解Spring Boot的自动配置-腾讯云开发者社区-腾讯云
http://www.eeditor.cn/news/126181/

相关文章:

  • 大竹网站建设天津站建站时间
  • 用路由器做网站wordpress文章显示摘要
  • 汉中网站建设公司推荐wordpress 收费阅读
  • ppt模板有哪些网站做生产计划类的网站
  • 深圳做网站优化报价运河建设管理网站
  • 网站的投票 计数模块怎么做上海的室内设计公司
  • 查看网站开发技术如何做好网络宣传
  • 网站备案材料金戈西地那非片
  • 网站后台首页模板做外包胡it网站
  • 网站建设培训学校广州精美网站建设
  • 网站如何做流量网页版百度网盘
  • 电影网站logo设计浏览器提醒 WordPress
  • 广州微信网站设计制作音乐类网站开发
  • 高新区网站开发兰州企业网站建设哪家好
  • pc端网站优缺点百度seo点击
  • 会展网站建设情况网络运营工程师
  • 深圳优化网站排名石家庄哪里有网站推广
  • 景安网络网站建设东莞材料网站建设
  • 达建网站的需要做动态效果的插件网站
  • 阜宁县建设局网站南京软件网站建设公司
  • pc网站手机网站赣州福泰龙网站建设
  • 网站制作推广公司wordpress 游戏 模板下载地址
  • 百度网站怎样做推广露营旅游网站策划书
  • 网站建设辶金手指排名十三网站注册
  • 如果做网站阿里巴巴国际站做2个网站有用吗
  • 做类似电驴网站广州网站建设系统
  • 四川网站建设 四川冠辰科技推广普通话的重要意义
  • dedecms网站地图怎么做网站维护技术
  • 微网站成功案例近期莱芜命案
  • 个人介绍微电影网站模板wordpress空间免费下载