java.lang.NoClassDefFoundError: java/sql/ResultSet #1730
cuixianyu-github
started this conversation in
General
Replies: 4 comments 7 replies
|
Is the JVM using the module system? Some classes might not be included by the module graph. |
1 reply
|
If your app has a module-info file, yes. |
1 reply
|
Are you adding Byte Buddy to the boot loader? The SQL module is added to the platform loader. |
1 reply
|
If you, from your agentmain, run: M̀ySqlJdbcMonitor.class.getClassLoader() |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
As a beginner, why do I get a java.lang.NoClassDefFoundError: java/sql/ResultSet when executing -javaagent: ./my-agent.jar? I am referencing it inside the interceptor.

All reactions