2021-7-15

找不到log变量

解决方法

https://blog.csdn.net/wanniwa/article/details/109155143

'parent.relativePath' of POM imc.decoos.mfa:MsKafka:0.0.1-SNAPSHOT (E:worddcoos_base_2MessageServiceMsKafkapom.xml) points at imc.decoos.mfa:MessageService instead of org.springframework.boot:spring-boot-starter-parent, please verify your project structure



org.springframework.boot
spring-boot-starter-parent
2.2.6.RELEASE

</parent>

加入

由于某种不知名原因,我的mail被屏蔽了,导致项目无法启动,修改参数
test-connection: true

如果这个参数配置为 true ,那么验证会很严格,邮件 认证不通过,就不能启动。(建议你确认你的程序离开了邮件就无法运行,你如果邮件异常你愿意整个服务不启动才开启,而且测试环境的没必要开启 )
如果这个参数是 false,那么 不会在启动的时候去验证。

默认是 false ,不建议随便开启,正常程序应该都不是离开了邮件,就愿意舍弃 整个服务的。

原文地址:https://www.cnblogs.com/anxia33/p/15015827.html