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文件中,找到,后面在添加一行
总结
以上为个人经验,希望能给大家一个参考,也希望大家多多支持脚本之家。
相关文章
详解Spring Cloud Finchley版中Consul多实例注册的问题处理
这篇文章主要介绍了详解Spring Cloud Finchley版中Consul多实例注册的问题处理,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧2018-08-08用Maven打成可执行jar,包含maven依赖,本地依赖的操作
这篇文章主要介绍了用Maven打成可执行jar,包含maven依赖,本地依赖的操作,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧2020-08-08在SpringBoot中注入RedisTemplate实例异常的解决方案
这篇文章主要介绍了在SpringBoot中注入RedisTemplate实例异常的解决方案,具有很好的参考价值,希望对大家有所帮助。如有错误或未考虑完全的地方,望不吝赐教2022-01-01Java中NoClassDefFoundError 和 ClassNotFoundException的区别
Java中NoClassDefFoundError和ClassNotFoundException的区别,从类继承层次上来看,ClassNotFoundException是从Exception继承的,所以ClassNotFoundException是一个检查异常。具体详情需要的朋友可以参考下面文章内容2022-06-06
最新评论