Intellij IDEA 使用Spring-boot-devTools notfound

  • Post author:
  • Post category:其他


以下解决办法是从@君梦瑾 的博客看来的,为了以后遇到了这类问题自己查找方便又重新写的,图片也是他的文章中截图来的

springboot热部署,添加依赖报错

pom 文件中添加依赖

org.springframework.boot

spring-boot-devtools

true

true

spring-boot-devtools 这一行的spring-boot-devtools会爆红,错误明细是Spring-boot-devTools notfound:30

解决办法(idea配置)

1、
在这里插入图片描述

2、在idea中 ,Shift+Ctrl+Alt+/,选择Registry

在这里插入图片描述

进入Registry,勾选 complier.automake.allow.when.app.running,点击close

在这里插入图片描述

3、重启idea(必做)

以上,就好了啊



版权声明:本文为xiaxiao_原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。