AndyAO
V2EX  ›  问与答

如何在运行环境为 Java9+ 的 IDEA 上使用 Groovy Shell?

  •  1
     
  •   AndyAO · Jul 16, 2021 · 1393 views
    This topic created in 1884 days ago, the information mentioned may be changed or developed.

    当启动 Groovy Shell 的时候会遇到这样的错误。

    `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.
    

    上面给出的解决方法是更改 run configuration,在查询之后了解到选项应该是 Shorten command line,但是在 Groovy 的 run configuration 中并没有发现类似的选项。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2759 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 04:46 · PVG 12:46 · LAX 21:46 · JFK 00:46
    ♥ Do have faith in what you're doing.