IDEA運行SpringBoot異常:Command line is too long.

異常信息

Error running 'xxx': Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.

解決

在該項目的目錄下,會有一個.idea的文件夾,修改workspace.xml中的文件

<component name="PropertiesComponent">
    <property name="dynamic.classpath" value="true" />
    ...
</component>

在標籤中添加:

<property name="dynamic.classpath" value="true" />

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章