[英]Spring boot 2.2.2 fail with Caused by: java.lang.ClassNotFoundException: org.springframework.core.log.LogMessage
I have some problem with spring boot 2.2.2.我对 Spring Boot 2.2.2 有一些问题。 It failed with error
Caused by: java.lang.ClassNotFoundException: org.springframework.core.log.LogMessage
它因错误
Caused by: java.lang.ClassNotFoundException: org.springframework.core.log.LogMessage
失败Caused by: java.lang.ClassNotFoundException: org.springframework.core.log.LogMessage
when some libs not found in classpath.当在类路径中找不到某些库时。 Main reason than LogMessage not found beacuse spring devtool 2.2.2 have dependence spring core 5.1.2
没有找到 LogMessage 的主要原因是因为 spring devtool 2.2.2 依赖 spring core 5.1.2
In this version no class founds LogMessage you can see in screenshots.在此版本中,您可以在屏幕截图中看到没有类找到 LogMessage。 This class is added only 5.2.0.
此类仅在 5.2.0 中添加。 Is it issue?
是问题吗? LogMessage.class in 5.2.4
5.2.4 中的 LogMessage.class
Cached version, update maven index fix problem.缓存版本,更新 maven 索引修复问题。 Now can close question!
现在可以关闭问题了!
I am using Spring boot 2.2.5 and it finds the LogMessage class just fine.我正在使用 Spring boot 2.2.5,它发现 LogMessage 类很好。 Make sure you have all the Spring Boot files downloaded.
确保您已下载所有 Spring Boot 文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.