安装eclipse并配置lombok
下载eclipse
https://www.eclipse.org/downloads/
https://www.eclipse.org/downloads/packages/release
选择版本
选择操作平台
开始下载
解压到目录
设置代码路径
设置编译标准
设置java安装位置
设置maven
下载lombok
https://www.projectlombok.org/all-versions
配置lombok
完成lombok
PLATFORM: JDK16 support added. .
PLATFORM: All lombok features updated to act in a sane fashion with JDK16's record feature. In particular, you can annotate record components with @NonNull to have lombok add null checks to your compact constructor (which will be created if need be).
BUGFIX: Trying to use a lambda expression as parameter to an @ExtensionMethod did not work. . (by @Rawi01).
BUGFIX: @SuperBuilder with an existing constructor caused issues in eclipse. . (by @JanRieke).
BUGFIX: Using @SuperBuilder with a handwritten builder class caused issues. . (by @JanRieke).
BUGFIX: Lombok interacts properly with the new save actions in eclipse 2021-03.
POTENTIAL BUGFIX: lombok + errorprone could cause IllegalArgumentException if using the MissingSummary bug pattern. .
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'nas-video'.
Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
throws java.lang.ClassFormatError accessible:
module java.base does not "opens java.lang" to unnamed module @27afbf14
根据上面提示选择eclipse 2021-03
编译标准没有17
查找java 18
安装java 18
设置编译标准为17
按照上步重新配置一边lombok
maven update 终于成功了
eclipse 安装中文语言包
获取语言包网址
https://www.eclipse.org/babel/downloads.php
选择比较新的语言包复制下来
https://download.eclipse.org/technology/babel/update-site/R0.19.2/2021-12/
获得的语言包网址复制到下图位置
选择中文简体
选择我同意
重启之后效果
如果不习惯中文包
打开eclipse安装目录打开eclipse.ini文件
在最后一行添加
-Duser.language=en
重新打开eclipse即可