Idea运行报错Error running 'Application': Command line is too long的解决方法

Error running 'ShopApplication': Command line is too long. Shorten command line for ShopApplication 

 

-----------------------

idea/workspace.xml文件,然后再找到<component name="PropertiesComponent"></component >标签,标签如下所示

 

 

然后再在component 标签里加一行 <property name="dynamic.classpath" value="true" />

 

重新打开 启动项目不报错

posted @ 2025-03-31 11:54  喜欢22度的晴天  阅读(99)  评论(0)    收藏  举报