报错内容:
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" /> ,再次启动项目即可。
本文介绍了解决IntelliJ IDEA中因命令行过长导致的项目启动失败问题的方法。通过修改workspace.xml文件中的配置,加入一行代码启用动态类路径设置,成功解决了该问题。
3468

被折叠的 条评论
为什么被折叠?



