开发者社区 问答 正文

Spring boot gradle jetty启动报错?报错

22:43:06: Executing external task 'bootRun -Xms258m -Xmx768m '...
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
	at build_de0x4c0rt8ryb1z0vfb612cx.run(D:\idea_work\onirii-test\onirii-test\build.gradle:85)
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:findMainClass
Gradle now uses separate output directories for each JVM language, but this build assumes a single directory for all classes from a source set. This behaviour has been deprecated and is scheduled to be removed in Gradle 5.0
:bootRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
> A problem occurred starting process 'command 'D:\softhome\jdk1.8.0_73\bin\java.exe''

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 5s
4 actionable tasks: 2 executed, 2 up-to-date
CreateProcess error=206, 文件名或扩展名太长。
22:43:12: External task execution finished 'bootRun -Xms258m -Xmx768m '.

求大神指导

展开
收起
爱吃鱼的程序员 2020-06-08 13:19:13 617 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    有详细错误信息么? 执行的时候加下--stacktrace

    去掉jvm参数

    2020-06-08 13:19:23
    赞同 展开评论