coolair
V2EX  ›  Java

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

  •  
  •   coolair · Sep 19, 2023 · 1491 views
    This topic created in 990 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
        1
    heyufei1996  
       Sep 19, 2023
    在 mvnrepository 看了下对应的依赖, 已经更新到 3.1.3 版本了, 不存在你说的弃用的情况.
    coolair
        2
    coolair  
    OP
       Sep 19, 2023
    @heyufei1996 #1 果真如此,经常会碰到这种找不到包,以为被弃用的情况。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5400 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:56 · PVG 15:56 · LAX 00:56 · JFK 03:56
    ♥ Do have faith in what you're doing.