學習記錄
項目運行報錯——Error running xxx : Command line is too long.Shorten command line for XXX or also for spring boot default configuration解決方法
在IDEA 運行有時會報:
錯誤原因 出現這個的原因一般是因為項目需要打印的環境變量太長,超過了限制,需要你縮短命令行來解決問題。
解決方法:
2021版本前的修改此次就可以了
2021版本開始
1、找到項目里面的idea/workspace.xml文件。
2、找到<component name="PropertiesComponent"></component >標簽。
再在component 標簽里加一行 <property name="dynamic.classpath" value="true" />
學無止境