본문 바로가기

Back-end/Java

jasypt 1.9.3 ExceptionInInitializerError 오류

Symptom

 

$ .\encrypt.bat input="평문패스워드" password="password" algorithm="알고리즘"

----ENVIRONMENT-----------------

Runtime: ojdkbuild OpenJDK 64-Bit Server VM 25.312-b07

----ARGUMENTS-------------------

algorithm: 알고리즘
input: 평문패스워드
password: password

----ERROR-----------------------

java.lang.ExceptionInInitializerError

 

Resolution

 

jasypt-1.9.3\lib\icu4j-3.4.4.jar 삭제

 

 

References

 

https://github.com/jasypt/jasypt/issues/44

 

Jasypt 1.9.3 not working with OpenJDK version 262 and later: ERROR: java.lang.ExceptionInInitializerError · Issue #44 · jasypt

I have noticed that Jasypt 1.9,3 works fine with OpenJDK Redhat version 1.8.0.252-2.b09 but does NOT work with version 262 or 265 (latest). I get the following error: ERROR: java.lang.ExceptionInIn...

github.com

 

반응형