overthemoon
V2EX  ›  问与答

springboot 升级后出现问题

  •  
  •   overthemoon · Aug 18, 2022 · 1541 views
    This topic created in 1378 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
        1
    storyxc  
       Aug 18, 2022
    pom 的 resources 配置里把 bootstrap.yml 加上了吗,没有的话可以加上试试
    lllllliiii
        3
    lllllliiii  
       Aug 18, 2022
    依赖
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2474 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 00:01 · PVG 08:01 · LAX 17:01 · JFK 20:01
    ♥ Do have faith in what you're doing.