Spring Boot 运行工程 Lombok 报错
Spring Boot Lombok IDEA About 578 words错误信息
IDEA
构建项目时报符号找不到错误,且抛出以下错误:
java: Supported source version 'RELEASE_6' from annotation processor 'lombok.launch.AnnotationProcessorHider$ClaimingProcessor' less than -source '11'
java: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled.
Your processor is: com.sun.proxy.$Proxy19
Lombok supports: OpenJDK javac, ECJ
错误原因
Lombok
版本低于1.18.24
。
解决方法
方法一
升级Lombok
版本至1.18.24
及以上。
方法二
IDEA
设置中添加配置
-Djps.track.ap.dependencies=false
配置路径:
Settings -> Build, Execution, Deployment -> Compiler -> Shared build process VM options
Views: 2,274 · Posted: 2023-01-31
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...