本文主要是介绍【异常】IDEA启动报错`CommandLineWrapper` is ill-suited for launching apps on Java 9+.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一、异常描述
E:\jdk11\bin\java.exe -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64660,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent: \AppData\Local\JetBrains\IntelliJIdea2021.1\captureAgent\debugger-agent.jar -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2021.1.2\lib\idea_rt.jar" com.intellij.rt.execution.CommandLineWrapper D:\Users\uidq0884\AppData\Local\Temp\idea_classpath434171717
.XXXAdminApplication
已连接到目标 VM, 地址: ''127.0.0.1:64660',传输: '套接字''
`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.
与目标 VM 断开连接, 地址为: ''127.0.0.1:64660',传输: '套接字''进程已结束,退出代码为 1
二、异常说明
项目从jdk8升级到jdk11后springboot启动报错,查询多方资料未果
报错信息:
`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.
三、异常解决
修改springboot启动参项为JAR manifest后好了
这篇关于【异常】IDEA启动报错`CommandLineWrapper` is ill-suited for launching apps on Java 9+.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!