SpringBoot - Jrebel Class org.springframework.boot.env.PropertiesPropertySourceLoader could not be …

Posted 程序员牧码

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBoot - Jrebel Class org.springframework.boot.env.PropertiesPropertySourceLoader could not be …相关的知识,希望对你有一定的参考价值。

报错信息

Class 'org.springframework.boot.env.PropertiesPropertySourceLoader' could not be processed by org.zeroturnaround.javarebel.integration.spring.boot.cbp.PropertiesPropertySourceLoaderCBP@sun.misc.Launcher$AppClassLoader@18b4aac2

问题分析

当前 JRebel 版本不支持高于Spring4.2.7以上的版本。 

解决方案

降低 SpringBoot 基础依赖版本,例如

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.18.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

以上是关于SpringBoot - Jrebel Class org.springframework.boot.env.PropertiesPropertySourceLoader could not be …的主要内容,如果未能解决你的问题,请参考以下文章

开发利器JRebel部署SpringBoot项目

在 IDEA 中使用 JRebel 实现 SpringBoot 热部署

Eclipse上运行Springboot项目突然JRebel不启动没反应了

利用 jrebel 热部署远程调试远程热部署 springboot项目 服务器上的代码

Tomcat 无法启动使用 Eclipse、JRebel 和 Spring Boot

springboot使用热加载神奇插件jrebel,不需重构建/运行项目即可实时更改查看更改后效果