xiaoyanbot
V2EX  ›  问与答

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

  •  
  •   xiaoyanbot · Jan 10, 2023 · 682 views
    This topic created in 1246 days ago, the information mentioned may be changed or developed.

    执行

    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
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5804 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 06:28 · PVG 14:28 · LAX 23:28 · JFK 02:28
    ♥ Do have faith in what you're doing.