Idea:Error running ‘Application‘: Command line is too long. Shorten command line

137 阅读1分钟

问题描述:

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

问题解决:

  1. 打开工程目录下文件:.idea/workspace.xml
  2. 找到标签 <component name="PropertiesComponent">
  3. 在标签内加一行
    <property name="dynamic.classpath" value="true" />