IDEA:Error running,Command line is too long.解决方案
IDEA:Error running,Command line is too long.
报错如下
Error running SendSmsUtil. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.

原因是启动命令过长。
解决方法
1、打开Edit Configurations

2、点击Modify options设置,勾选Shorten command line

3、在Edit Configurations界面下方新增的Shorten command line选项中选择JAR manifest或classpath file

然后 Apply,OK 即可。
IDEA 出现问题:Error running,Command line is too long. Shorten command line
报错信息
Error running SystemServerApplication.
Command line is too long.
Shorten the command line via JAR manifest or via a classpath file and rerun.

运行"系统服务器应用程序"时出错。命令行太长。
通过 JAR 清单或类路径文件缩短命令行,然后重新运行。
解决步骤
在项目的.idea/workspace.xml文件中,找到,后面在添加一行

总结
以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。
相关文章
Netty分布式pipeline管道传播outBound事件源码解析
这篇文章主要介绍了Netty分布式pipeline管道传播outBound事件源码解析,有需要的朋友可以借鉴参考下,希望能够有所帮助,祝大家多多进步,早日升职加薪2022-03-03
SpringBoot混合使用StringRedisTemplate和RedisTemplate的坑及解决
这篇文章主要介绍了SpringBoot混合使用StringRedisTemplate和RedisTemplate的坑及解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教2023-12-12
springcloud 如何解决微服务之间token传递问题
这篇文章主要介绍了springcloud 如何解决微服务之间token传递问题,具有很好的参考价值,希望对大家有所帮助。如有错误或未考虑完全的地方,望不吝赐教2022-03-03
springboot封装JsonUtil,CookieUtil工具类代码实例
这篇文章主要介绍了springboot封装JsonUtil,CookieUtil工具类过程解析,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下2019-09-09


最新评论