简体   繁体   中英

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. It failed with error 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

在此处输入图片说明 在此处输入图片说明

In this version no class founds LogMessage you can see in screenshots. This class is added only 5.2.0. Is it issue? LogMessage.class in 5.2.4

Cached version, update maven index fix problem. Now can close question!

I am using Spring boot 2.2.5 and it finds the LogMessage class just fine. Make sure you have all the Spring Boot files downloaded.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM