idea Error running 'Application': Command line is too long解决方法

问题

新项目在Idea里面启动时报错Error running ‘Application’: Command line is too long,如下面截图
Error running ‘Application‘: Command line is too long

解决

方法一(亲测可用)

找到项目根目录下idea/workspace.xml文件,然后再找到
标签,标签如下所示
Error running ‘Application‘: Command line is too long
在component 标签中加上

Error running ‘Application‘: Command line is too long
重新启动项目,问题解决。

方法二

Error running ‘Application‘: Command line is too long
如图所示,打开run-> edit configuration ,如下图所示修改,问题解决
Error running ‘Application‘: Command line is too long

相关文章:

  • 2021-05-17
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2021-04-08
  • 2021-12-14
  • 2021-05-10
猜你喜欢
  • 2021-08-17
  • 2021-06-07
  • 2021-04-21
  • 2022-01-20
  • 2021-10-15
  • 2021-09-16
  • 2022-12-23
相关资源
相似解决方案