-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
java.lang.NoClassDefFoundError: io/mockk/proxy/jvm/advice/jvm/JvmMockKProxyInterceptor #520
Comments
I have been trying to reproduce this, but I was able to successfully execute the code snippet you provided. Out of curiosity: why are you using |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you are sure that this issue is important and should not be marked as |
Hello @Raibaz, upgrade from 1.9.2 to latest 1.12.0 fails with the same error on all tests. You can find these here https://github.com/agebhar1/prototype-xslt-data-url/runs/2998173263?check_suite_focus=true |
I get the same error when trying to mock a class from Java module, e.g. jdk.httpserver
It seems the generated code that is put inside of the class in a module package cannot get access to mockk itself... |
Any updates on this? |
I am facing the same issue. Any updates? |
any solution for this ? |
I'm also experiencing this issue |
Expected Behavior
Test passing
Current Behavior
Test failed: java.lang.NoClassDefFoundError: io/mockk/proxy/jvm/advice/jvm/JvmMockKProxyInterceptor
Steps to Reproduce
Write a test that executes the following code:
val result = mockkClass(javax.crypto.SecretKey::class)
when you try to evaluate result it crashes.
Context
Failure Logs
Stack trace
Minimal reproducible code (the gist of this issue)
The text was updated successfully, but these errors were encountered: