I updated spring-dotenv
to 2.5.3 from 1.0.0 like below build.gradle
.
dependencies {
implementation 'me.paulschwarz:spring-dotenv:2.5.3'
}
then, I execute ./gradlew build
happened IncompatibleClassChangeError
.
java.lang.IncompatibleClassChangeError at DotenvPropertyLoader.java:11
Why caused this error?
I have seen other answers like below. But I can't solve this problem.
What causes java.lang.IncompatibleClassChangeError?
Does anyone have any idea? Thanks.