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

举报· 111 次点击
登录 注册 站外分享
快来抢沙发
0 条回复  
返回顶部