AndyAO
V2EX  ›  问与答

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

  •  1
     
  •   AndyAO · Jul 16, 2021 · 1214 views
    This topic created in 1765 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   ·   Solana   ·   3057 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:02 · PVG 22:02 · LAX 07:02 · JFK 10:02
    ♥ Do have faith in what you're doing.