java.lang.NoClassDefFoundError: org/springframework/core/log/LogMessage完美解决

springBoot启动报错,刚开始启动正常,后来就加了热部署的依赖,考虑到和springBoot的版本是不是出了问题,依赖版本如下

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-validation</artifactId>
			<version>2.1.10.RELEASE</version>
		</dependency>

		<dependency>
			<groupId>io.swagger</groupId>
			<artifactId>swagger-annotations</artifactId>
			<version>1.5.22</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-devtools</artifactId>
			<version>2.3.9.RELEASE</version>
		</dependency>

后来改了版本,启动成功!

你可能感兴趣的:(java)