Intellij IDEA运行时报错Command line is too long

报错内容:

Error running '

TopeUserAdminApplication': Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.

解决方案:

     找到存放项目的目录:下的.idea目录,如我的项目general-components所在的目录如下

     D:\program_files\new_git_init_project\general-components\.idea

    打开: workspace.xml 文件

    找到标签 <component name="PropertiesComponent"> , 在标签里加一行  <property name="dynamic.classpath" value="true" /> ,再次启动项目即可。

   

猜你喜欢

转载自blog.csdn.net/u014635374/article/details/109594476