V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
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 · 314 次点击
    这是一个创建于 497 天前的主题,其中的信息可能已经有所发展或是发生改变。

    执行

    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   ·   实用小工具   ·   1743 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:45 · PVG 00:45 · LAX 09:45 · JFK 12:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.