overthemoon
V2EX  ›  问与答

springboot 升级后出现问题

  •  
  •   overthemoon · Aug 18, 2022 · 1879 views
    This topic created in 1547 days ago, the information mentioned may be changed or developed.

    升级 springboot 到 2.5.5 ,cloud 和 jdk 也升级了,结果只能读取 application.properties ,而读取不到 bootstrap.yml 里面的信息,是啥问题,旧版能正常读取

    3 replies  •  2022-08-18 19:11:05 +08:00
    storyxc
    storyxc
    Aug 18, 2022
    1
    pom 的 resources 配置里把 bootstrap.yml 加上了吗,没有的话可以加上试试
    lllllliiii
    lllllliiii
    Aug 18, 2022
    3
    依赖
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2174 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:36 · PVG 22:36 · LAX 06:36 · JFK 09:36
    ♥ Do have faith in what you're doing.