idea 運行啟動類報錯 Command line is too long
啟動報錯信息:Error running ‘Application‘: Command line is too long.
翻譯過來就是:啟動命令過長!
解決方案
1、點開項目啟動配置項目;
2、shorten command line 選項選擇 JAR manifest
或者 classpath file
選項,點擊 Apply 和 OK,然后重啟項目;
idea 運行測試類報錯
Error running test: Command line is too long
上面是運行啟動類報錯的解決方案,運行測試類也可能會出現(xiàn)這種情況;
解決方案
1、項目右鍵打開本地文件夾;
2、打開*.idea* 文件夾下的 workspace.xml 文件,在<component name="PropertiesComponent">
這個標簽下加一行配置:<property name="dynamic.classpath" value="true" />
文章來源:http://www.zghlxwxcb.cn/news/detail-494805.html
整理自:
https://blog.csdn.net/nbxinjian/article/details/124149401
https://blog.csdn.net/weixin_45886609/article/details/126394026文章來源地址http://www.zghlxwxcb.cn/news/detail-494805.html
到了這里,關于idea 啟動報錯 Command line is too long的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!