Josepy

问题:
在maven中加入依赖后发现热启动还是没办法

<!--热部署-->
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
	<optional>true</optional>
</dependency>

解决方法:
如果是idea,需要改以下两个地方:
1、勾上自动编译或者手动重新编译
File > Settings > Compiler-Build Project automaticall
2、ctrl + shift + alt + / > Registry > 勾选Compiler autoMake allow when app running

分类:

技术点:

相关文章:

  • 2021-05-03
  • 2021-06-16
  • 2021-06-20
  • 2021-07-20
猜你喜欢
  • 2021-12-12
  • 2021-04-03
  • 2021-08-15
  • 2021-05-15
  • 2021-10-14
  • 2021-09-25
相关资源
相似解决方案