코딩일상

[caffeine 컴파일에러 ]class file has wrong version 55.0, should be 52.0 본문

기록/Troubleshooting

[caffeine 컴파일에러 ]class file has wrong version 55.0, should be 52.0

solutionMan 2023. 7. 4. 21:07
반응형

[ERROR] bad class file: /Users/catap/.m2/repository/com/github/ben-manes/caffeine/caffeine/3.0.0/caffeine-3.0.0.jar(com/github/benmanes/caffeine/cache/Cache.class) [ERROR] class file has wrong version 55.0, should be 52.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

 

 

빨간색 글씨의 위치의 빌드된  jar 파일을 지우고 java 버전을 11로 변경후 빌드진행 후 재시작

 

 

참고 글

 

JDK8 doesn't supported? · Issue #514 · ben-manes/caffeine

Hey, I've tried to use the last release (3.0.0) with JDK8 and can't build it with error: [ERROR] bad class file: /Users/catap/.m2/repository/com/github/ben-manes/caffeine/caffeine/3.0.0/caffeine-3....

github.com

 

반응형
Comments