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

Spring CLI 新建项目的一个报错请教: Could not determine version based on 'ootVersion=2.4.2': version format is Major.Minor.Patch and

  •  
  •   xiaoyanbot · 2023-01-10 14:17:51 +08:00 · 501 次点击
    这是一个创建于 1026 天前的主题,其中的信息可能已经有所发展或是发生改变。

    执行

    spring init -d=web,actuator -n=actuator-demo -type=maven-project -bootVersion=2.4.2 -javaVersion=11  actuator-demo
    

    报错提示:

    Using service at https://start.spring.io
    Initializr service call failed using 'https://start.spring.io' - service returned Internal Server Error: 'Could not determine version based on 'ootVersion=2.4.2': version format is Major.Minor.Patch and an optional Qualifier (e.g. 1.0.5.RELEASE)'
    

    这个报错很奇怪,为啥报错里 -bootVersion 的 -b 给吃掉了?

    补充:CLI 的版本是:

    spring  --version 
    Spring CLI v2.4.2
    
    目前尚无回复
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   877 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:30 · PVG 04:30 · LAX 13:30 · JFK 16:30
    ♥ Do have faith in what you're doing.