You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses when upgrade from 2.7.0 to 2.8.0 #2834
When a project depends kotlin-stdlib without kotlin-reflect, upgrading springdoc-openapi-starter-webmvc-ui from 2.7.0 to 2.8.0 will result in java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses
Adding the configuration does not feel like a proper solution for this. I was not even aware till now that we have a transitive dependency on kotlin-stdlib through resilience4j-retry.
Reacted by Paul Biester, James Choi, adamsmith118, Nariman and dpkass
I feel the same as @sergeykad. The issue only came up with custom configuration (in my case adding the model for MonetaryAmount). In other projects I didn't even notice.
Activity
tienipia commentedon Jan 6, 2025
same issue here.
Xzuner commentedon Jan 6, 2025
same issure here,using 2.8.0
Handler dispatch failed: java.lang.NoClassDefFoundError: kotlin/reflect/full/KClasses
yolopunk commentedon Jan 6, 2025
need set properties
springdoc.enable-kotlin=falsethe default value is
truesergeykad commentedon Jan 6, 2025
Adding the configuration does not feel like a proper solution for this. I was not even aware till now that we have a transitive dependency on
kotlin-stdlibthroughresilience4j-retry.Merged PR 72294: Update dependency org.springdoc:springdoc-openapi-st…
java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses when u…
java.lang.ClassNotFoundException: kotlin.reflect.full.KClasses when u…
dpkass commentedon Oct 30, 2025
I feel the same as @sergeykad. The issue only came up with custom configuration (in my case adding the model for
MonetaryAmount). In other projects I didn't even notice.