IntelliJ IDEA 中SpringBoot对Run/Debug Configurations配置 SpringBoot热部署

本文介绍了运行SpringBoot多模块应用的方法。通过SpringBoot配置启动,在Use classpath of module中选中要运行的模块,还可在VM options里进行内部配置,如用-Dserver.port设置端口号、-Dspring.profiles.active设置运行环境、-Ddebug开启debug模式。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

运行一个SpringBoot多模块应用

使用SpringBoot配置启动:

Use classpath of module选中要运行的模块

VM options:内部配置参数

-Dserver.port=8080 -Dspring.profiles.active=test -Ddebug

-Dserver.port可以设置端口号,
-Dspring.profiles.active=test可以设置运行环境
-Ddebug 开启debug模式

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值