1.在项目的.idea目录下找到workspace.xml文件,添加一下配置
<component name="RunDashboard">
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
2.关闭所有服务并重新启动即可显示

在IDEA的.workspace.xml文件中添加SpringBootApplicationConfigurationType配置,然后重启服务,可以实现SpringBoot应用在Run Dashboard上的显示。主要涉及配置types和ruleStates,确保启动配置正确。
5556

被折叠的 条评论
为什么被折叠?



