기존에 사용하던 Eclipse의 SonarLint Plugin을 새로 나온 5.0 버전으로 업데이트하고 아래와 같은 lombok Error가 발생했었습니다.
| An internal error occurred during: "SonarLint processing file (파일명) lombok/launch/PatchFixesHider$ValPortal |
해결방법 : lombok 1.18.12 이상으로 버전업 하시면 됩니다.
검색을 해보니 한 달 전에 SonarLint For Eclipse의 JIra와 lombok의 github issues에 해당 문제에 대해 문의한 내용들이 있었으며, SonarLint 플러그인 개발자와 lombok 개발자 간의 문제 해결에 대한 이야기를 볼 수 있었습니다.
문의 내역
SonarLint : https://jira.sonarsource.com/browse/SLE-336
[SLE-336] Unable to analyze a project using Lombok - SonarSource
With the move of SonarJava to ECJ, there is an exception when trying to analyze a Lombok project. java.lang.NoClassDefFoundError: lombok/launch/PatchFixesHider$Transform at org.eclipse.jdt.internal.compiler.parser.Parser.endParse(Parser.java:10882) at org.
jira.sonarsource.com
Lombok Issue : https://github.com/rzwitserloot/lombok/issues/2351
[BUG] java.lang.NoClassDefFoundError: lombok/launch/PatchFixesHider$Transform with eclipse 2019-12 and SonarLint-Plugin · Issue
Describe the bug When using eclipse and the SonarLint-Plugin I get an error every time I save the file and sonar begins to analyze. To Reproduce Install the latest eclipse version 2019-12 and the S...
github.com
해당 이슈가 해결되고 Lombok v1.18.12 변경 사항에 추가된 Bugfix 내용
Lombok Changelog
v1.18.12 (February 1st, 2020)
- 중략...
- BUGFIX: If using the sonarlint plugin in eclipse for projects bound to sonarcloud, you now no longer get internal errors on sonarlint processing. Issue #2351
'dev > 기타' 카테고리의 다른 글
| Module (0) | 2020.03.16 |
|---|---|
| IntelliJ에서 Junit5 테스트 시 DisplayName이 안나오는 문제 (0) | 2020.03.05 |
| Spring boot 1.5에서 Thymeleaf 3 사용하기 (0) | 2020.02.20 |
| Elvis operator와 Safe navigation operator (0) | 2020.02.18 |
| JUnit Test - java.lang.Exception: No runnable methods (0) | 2020.01.03 |