Error running ‘XXX‘: Command line is too long. Shorten command line for
1. 错误提示:
22:27 Error running ‘ServerApplication’: Command line is too long. Shorten command line for YudaoServerApplication or also for Spring Boot default configuration.
2. 原因:
3. 解决:
①找到项目 .idea 目录下的workspace.xml文件
②打开文件,找到如下组件的位置
③在组件中添加如下代码
🆗!项目启动成功!