eclipse @Slf4j无效

本文介绍如何在Eclipse中安装Lombok插件,包括下载lombok.jar并将其放置在Eclipse安装目录下,通过java-jarlombok.jar执行安装过程,最后重启Eclipse并清理工程确保安装成功。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下载lombok.jar,和eclipse.ini放一起(Eclipse安装目录下)

下载地址:https://www.projectlombok.org/all-versions

 

执行 java -jar lombok.jar,会弹出安装界面

选择eclipse的安装目录

点击Install / Update

重启eclipse

Clean工程

检查eclipse.ini安装后的配置信息

Retrying Downloading key 5b05ccde140c2876 for org.eclipse.jgit:org.eclipse.jgit:5.6.0.201912101111-r@jar.asc (attempt 1 of 40, 2a00:c6c0:0:154:1:0:0:1, hkp://keys.openpgp.org): Keyserver should respond with successful HTTP codes (200..300), actual code is 404, url: http://keys.openpgp.org:11371/pks/lookup?op=get&options=mr&search=0x5b05ccde140c2876 Retrying Downloading key 2c7b12f2a511e325 for org.slf4j:slf4j-api:1.7.2@jar.asc (attempt 1 of 40, 37.218.245.50, hkp://keys.openpgp.org): Keyserver should respond with successful HTTP codes (200..300), actual code is 404, url: http://keys.openpgp.org:11371/pks/lookup?op=get&options=mr&search=0x2c7b12f2a511e325 Retrying Downloading key 5b05ccde140c2876 for org.eclipse.jgit:org.eclipse.jgit:5.6.0.201912101111-r@jar.asc (attempt 2 of 40, 2a00:c6c0:0:154:1:0:0:1, hkp://keys.openpgp.org): Keyserver should respond with successful HTTP codes (200..300), actual code is 404, url: http://keys.openpgp.org:11371/pks/lookup?op=get&options=mr&search=0x5b05ccde140c2876 Retrying Downloading key 2c7b12f2a511e325 for org.slf4j:slf4j-api:1.7.2@jar.asc (attempt 2 of 40, 37.218.245.50, hkp://keys.openpgp.org): Keyserver should respond with successful HTTP codes (200..300), actual code is 404, url: http://keys.openpgp.org:11371/pks/lookup?op=get&options=mr&search=0x2c7b12f2a511e325 Retrying Downloading key efe8086f9e93774e for junit:junit:4.12@jar.asc (attempt 1 of 40, 37.218.245.50, hkp://keys.openpgp.org): Keyserver should respond with successful HTTP codes (200..300), actual code is 404, url: http://keys.openpgp.org:11371/pks/lookup?op=get&options=mr&search=0xefe8086f9e93774e
03-12
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值