启动项目报错:Error running 'xxxxxxxx':  Command line is too long. Shorten command line for 'xxxxxxxx' or also for Application  default configuration.

方法一:点击提示中的:default:然后在弹出窗口中选择:JAR xxxx xxx(该方法对本次启动配置生效,不影响其他服务)

方法二:修改文件夹.idea/workspace.xml (对该工程下所有服务生效)

如下:

找到

<component name="PropertiesComponent"> </component>

然后在其中添加:

<property name="dynamic.classpath" value="true" />

再起启动,应该就好了!

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐