idea运行报错Error running ‘application‘: Command line is too long. Shorten command line for application

idea在运行boot项目有时候报错Error running ‘SafetyProductApplication’: Command line is too long. Shorten command line for SafetyProductApplication or also for Spring Boot default configuration?
在这里插入图片描述
解决办法:
1. 在.idea/workspace.xml中找到
在这里插入图片描述

2. 在component中添加一行<property name="dynamic.classpath" value="true" />

在这里插入图片描述
3. 重新运行项目即可


版权声明:本文为weixin_44769619原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。