异常 `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.解决办法
异常显示

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

设置【Shorten command line】选项为【@argfile(Java 9+)】即可

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



浙公网安备 33010602011771号