coolair
V2EX  ›  Java

spring-boot-starter-data-rest 自 springboot 2.6 后被弃用了,用什么替代?

  •  
  •   coolair · Sep 19, 2023 · 1851 views
    This topic created in 1144 days ago, the information mentioned may be changed or developed.
    spring-boot-starter-data-rest + JpaRepository 就可以不用写 controller 了,但是被弃用了,现在是用什么替代这个功能?
    2 replies  •  2023-09-19 13:45:37 +08:00
    heyufei1996
    heyufei1996
    Sep 19, 2023
    1
    在 mvnrepository 看了下对应的依赖, 已经更新到 3.1.3 版本了, 不存在你说的弃用的情况.
    coolair
    coolair
    OP
    Sep 19, 2023
    2
    @heyufei1996 #1 果真如此,经常会碰到这种找不到包,以为被弃用的情况。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1319 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:15 · PVG 01:15 · LAX 09:15 · JFK 12:15
    ♥ Do have faith in what you're doing.