赞
踩
1、关闭kotlin插件
高版本idea自动开启kotlin插件,在编译java 项目时,会出现 Kotlin: connecting to daemon
File —> settings —> plugins —> 搜索kotlin 选择禁用框
https://blog.csdn.net/yulin_g/article/details/107778430
2、打开自动编译
File —> Settings—> Build,Execution,Deployment—>Compiler—>project automatically打勾
设置Registry
快捷键 ctrl+alt+shift+’/’ —>Registry —> compiler.automake.allow.when.app.running 打勾,建议按名称排序后,查找
附录:
SpringBoot在IDEA中通过配置devtools实现热部署还需要添加依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。