Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoClassDefFoundError regarding EnumEntries since MapDB 3.1.0 #1042

Open
chkpnt opened this issue Feb 7, 2024 · 1 comment
Open

NoClassDefFoundError regarding EnumEntries since MapDB 3.1.0 #1042

chkpnt opened this issue Feb 7, 2024 · 1 comment

Comments

@chkpnt
Copy link

chkpnt commented Feb 7, 2024

I've just updated MapDB from 3.0.10 to 3.1.0.

Now I'm getting the following error:

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.mapdb.DB]: Factory method 'sessionsDB' threw exception; nested exception is java.lang.NoClassDefFoundError: kotlin/enums/EnumEntriesKt
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.3.31.jar!/:5.3.31]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) ~[spring-beans-5.3.31.jar!/:5.3.31]
        ... 54 common frames omitted
Caused by: java.lang.NoClassDefFoundError: kotlin/enums/EnumEntriesKt
        at org.mapdb.DBMaker$StoreType.<clinit>(DBMaker.kt:35) ~[mapdb-3.1.0.jar!/:na]
        at org.mapdb.DBMaker.fileDB(DBMaker.kt:50) ~[mapdb-3.1.0.jar!/:na]
        at org.mapdb.DBMaker.fileDB(DBMaker.kt:54) ~[mapdb-3.1.0.jar!/:na]

As there is no changelog that mentions required migration steps: What to do? I guess there is a runtime dependency missing. I'm using Java 11.

@carlosjepard
Copy link

I'm getting the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants