-
Notifications
You must be signed in to change notification settings - Fork 508
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
Kotin class java.lang.ClassNotFoundException #84
Comments
Can you please tell us how you are building the project? Asking because our CI is green. See https://github.com/mapstruct/mapstruct-examples/runs/767089987 |
I have the same problem using the Mapstruct-Kotlin-Maven example. I use Intellij as IDE.
|
Hi, same problem here... JDK 16, Kotlin 1.5.21, Maven, IntelliJ IDEA... |
Problem is in KAPT incompatibility with newer versions of JDK https://youtrack.jetbrains.com/issue/KT-45545 |
Facing the same problem with: JDK 11, Kotlin 1.43.2, MapStruct 1.5.0.Beta1, IntelliJ IDEA My
Tried launching with EDIT changed dependencies part to:
And now it works, apologies for the confusion. |
I built example project Kotlin Gradle but it showed error "class not found exception"
The text was updated successfully, but these errors were encountered: