idea运行报错Error running ‘Application’: Command line is too long的解决方法

新项目在Idea里面启动的时候,有的时候报错Error running ‘Application’: Command line is too long. Shorten command line for Application or aalso for Spring Boot default configuration,报错信息如下所示
idea运行报错Error running ‘Application’: Command line is too long的解决方法_第1张图片这个问题如何解决呢?首先找到,项目里面的idea/workspace.xml文件,如下所示。idea运行报错Error running ‘Application’: Command line is too long的解决方法_第2张图片其次再找到标签,如下所示。idea运行报错Error running ‘Application’: Command line is too long的解决方法_第3张图片然后再在component 标签里加一行 ,如下所示。idea运行报错Error running ‘Application’: Command line is too long的解决方法_第4张图片最后再重新启动项目。就不会报错了。
idea运行报错Error running ‘Application’: Command line is too long的解决方法_第5张图片
如果帮助到了您,麻烦关注,点赞,收藏,三连。
您的肯定,是我的动力。祝中华民族早日复兴!谢谢大家。
؏؏☝ᖗ乛◡乛ᖘ☝؏؏

你可能感兴趣的:(idea运行报错Error running ‘Application’: Command line is too long的解决方法)