首页 > 编程语言 >lombok 失效 Lombok supports: sun/apple javac 1.6, ECJ

lombok 失效 Lombok supports: sun/apple javac 1.6, ECJ

时间:2023-03-06 16:04:16浏览次数:39  
标签:1.6 relevant apple javac idea lombok

关于这个问题,我有种想要掐死idea的冲动。

启动项目,突然@Slf4j 下使用log就无效了,要多突然有多突然,然后就发现报错说,java 不能使用lombok了,百度搜索了下Lombok supports: sun/apple javac 1.6, ECJ

检查了lombok插件安装正常,修改了版本1.18.6到1.18.14

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.14</version>
</dependency>

然后就好了,人家说idea升级了才会这样,我啥都没干,只想掐死idea!!!

https://www.jb51.net/article/217337.htm

 

https://blog.csdn.net/qq_34760272/article/details/127689252?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-127689252-blog-84729425.pc_relevant_3mothn_strategy_and_data_recovery&spm=1001.2101.3001.4242.1&utm_relevant_index=3

 

标签:1.6,relevant,apple,javac,idea,lombok
From: https://www.cnblogs.com/tianhaichao/p/17184197.html

相关文章