We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987cabc commit 675aa23Copy full SHA for 675aa23
ibm-mq-metrics/src/main/java/io/opentelemetry/ibm/mq/opentelemetry/Main.java
@@ -33,7 +33,7 @@ public static void main(String[] args) throws Exception {
33
}
34
35
try {
36
- Main.class.getClassLoader().loadClass("com.ibm.mq.headers.MQDataException");
+ Class.forName("com.ibm.mq.headers.MQDataException");
37
} catch (ClassNotFoundException e) {
38
System.err.println("IBM MQ jar is missing from classpath.");
39
System.exit(1);
0 commit comments