异常 `CommandLineWrapper` is ill-suited for launching apps on Java 9+. If the run configuration uses "classpath file", please change it to "@argfile". Otherwise, please contact support.解决办法

异常显示
image
解决办法
1、在intellij idea的【Configurations】中设置【Shorten command line】选项为【@argfile(Java 9+)】.
选择需要执行的Springboot或者测试,修改其配置
image
设置【Shorten command line】选项为【@argfile(Java 9+)】即可
image

如IDEA没有显示【Shorten command line】选线,则需要自行设置其显示,如下
image
image

posted @   百年一梦  阅读(2620)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 提示词工程——AI应用必不可少的技术
· 地球OL攻略 —— 某应届生求职总结
· 字符编码:从基础到乱码解决
· SpringCloud带你走进微服务的世界
点击右上角即可分享
微信分享提示