错误一
- 找到项目下 .idea/workspace.xml 文件
- 添加配置
<component name="PropertiesComponent">
<property name="dynamic.classpath" value="true" />
</component>
错误二
IDEA显示Run Dashboard窗口,Multiple Spring Boot run configurations were detected. Run Dashboard allows to
- 在项目目录下的.idea 文件夹下的workspace.xml中查找RunDashboard
- 然后将如下内容添加其中(component标签内):
<option name="configurationTypes">
<set>
<option value="SpringBootApplicationConfigurationType" />
</set>
</option>