V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
AndyAO
V2EX  ›  问与答

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

  •  1
     
  •   AndyAO · 2021 年 7 月 16 日 · 1135 次点击
    这是一个创建于 1724 天前的主题,其中的信息可能已经有所发展或是发生改变。

    当启动 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 中并没有发现类似的选项。

    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1133 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 17:49 · PVG 01:49 · LAX 10:49 · JFK 13:49
    ♥ Do have faith in what you're doing.