idea操作maven指令启动springboot项目
2018-03-11 20:56
866 查看
添加热部署依赖:
经过测试optional设置为false也可以。
idea开启自动编译
setting—>compiler—>勾选Make project automatically
ctrl + shift + alt + /,选择Registry(或者Shift+Ctrl+A,输入”registry”),勾上 Compiler autoMake allow when app running
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <!-- optional=true,依赖不会传递,该项目依赖devtools; 之后依赖该项目的项目如果想要使用devtools,需要重新引入 --> <optional>true</optional> </dependency>
经过测试optional设置为false也可以。
idea开启自动编译
setting—>compiler—>勾选Make project automatically
ctrl + shift + alt + /,选择Registry(或者Shift+Ctrl+A,输入”registry”),勾上 Compiler autoMake allow when app running
相关文章推荐
- IDEA中SpringBoot项目启动遇到端口被占用(Address already in use: bind)
- [IDEA][SpringBoot]web项目刚启动就结束
- IDEA启动Spring Boot项目提示Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServlet...
- 从eclipse中导入到IDEA中的SpringBoot项目,启动时报错 Unable to start EmbeddedWebApplicationContext due to missing Em
- IDEA 新建spring Boot 项目新建后启动失败, 提示Unregistering JMX-exposed beans on shutdown
- IDEA+gradle +SpringBoot 项目,bootrun 无法启动项目
- SpringBoot项目在eclipse启动成功,在idea中失败
- intelij idea 快速启动 springboot项目
- IDEA 创建spring boot项目无法启动
- SpringBoot项目在eclipse启动成功,在idea中失败
- 使用IDEA启动在Eclipse中运行过的Springboot项目时翻车情况
- 在IDEA下跑gradle构建的SpringBoot项目启动报“CreateProcess error=206, 文件名或扩展名太长”
- IDEA中启动一个springboot项目(2)
- 关于IDEA启动Spring Boot项目出现Caused by: java.lang.NoClassDefFoundError: javax/servlet/ServletContext at j
- springboot 在idea多模块下 子模块的web项目用内置tomcat启动访问jsp报404
- [置顶] spring boot项目实战-集合操作
- IDEA上创建 Maven SpringBoot项目发布到Tomcat
- 使用idea创建springboot项目并打成war包发布到tomcat8上
- 解决:sprng boot 项目在IDEA中spring-boot run正常运行,但是打成JAR包之后访问界面返回404
- 使用idea创建springboot项目