V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
AndyAO
V2EX  ›  问与答

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

  •  1
     
  •   AndyAO · Jul 16, 2021 · 1173 views
    This topic created in 1747 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   ·   4866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 09:57 · PVG 17:57 · LAX 02:57 · JFK 05:57
    ♥ Do have faith in what you're doing.