V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · 630 views
    This topic created in 1209 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   ·   812 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:37 · PVG 03:37 · LAX 12:37 · JFK 15:37
    ♥ Do have faith in what you're doing.