1.找到.idea文件,打开workspace.xml
2.找到RunDashboard
3放入
<option name="configurationTypes"> <set> <option value="SpringBootApplicationConfigurationType" /> </set> </option>
4.重启Idea