IDEA启动项目时报错:Error running 'Application': Command line is too long. Shorten command line for Applicat
程序员文章站
2022-04-15 17:37:06
...
问题:
运行idea的时候,突然发现项目跑不了;出现以下错误:
Command line is too long. In order to reduce its length classpath file can be used. Would you like to enable classpath file mode for all run configurations of your project?
解决办法:
- 在项目下的 .idea\workspace.xml 中找到 《component name=“PropertiesComponent” 》, 在里加一行
<property name="dynamic.classpath" value="true" />
推荐阅读
-
Error running Application. Command line is too long. Shorten the command line via JAR manifest or vi
-
Error running ‘xxx‘: Command line is too long. Shorten command line for xxx or also for Application
-
IDEA启动项目时报错:Error running 'Application': Command line is too long. Shorten command line for Applicat
-
【异常】启动报错Error running ‘Application‘: Command line is too long. Shorten command line for Spring