V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
abc0123xyz
V2EX  ›  Java

jdk24 com.sun.tools.javac.code.TypeTag :: UNKNOWN 解决方案

  •  
  •   abc0123xyz · 8 天前 · 764 次点击
    java: java.lang.ExceptionInInitializerError
    com.sun.tools.javac.code.TypeTag :: UNKNOWN
    

    可以尝试检查 lombok 版本,使用 1.18.38 及以上版本

    https://projectlombok.org/changelog

    Lombok Changelog
    v1.18.38 (March 31st, 2025)

    • PLATFORM: JDK24 support added.
    • FEATURE: Lombok's nullity annotation now supports JSpecify out of the box, using config * key jspecify.
    • BUGFIX: Recent eclipse releases would get you 'negative length' error. The bug had * always been in lombok but didn't matter until recent releases. Issue #3823.
    • BUGFIX: The 'extract local variable' refactor script of VSCode wouldn't replace all * occurrences if run on a method call to a lombok generated method. Issue #3783.

    https://github.com/projectlombok/lombok/issues/3814
    https://youtrack.jetbrains.com/issue/IDEA-370086

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5480 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 03:03 · PVG 11:03 · LAX 20:03 · JFK 23:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.