Oliverwqcwrw opened a new issue, #5147:
URL: https://github.com/apache/rocketmq/issues/5147

   
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   
   When I test OpenTracing (e.g. OpenTracingProducer)
   
   it throws exception 
   
   > 
                  Error: A JNI error has occurred, please check your 
installation and try again
             Exception in thread "main" java.lang.NoClassDefFoundError: 
io/opentracing/Tracer
                  at java.lang.Class.getDeclaredMethods0(Native Method)
                  at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
                  at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
                  at java.lang.Class.getMethod0(Class.java:3018)
                  at java.lang.Class.getMethod(Class.java:1784)
                  at 
sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
                  at 
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
             Caused by: java.lang.ClassNotFoundException: io.opentracing.Tracer
                  at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
                  at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                  ... 7 more
   
   I notice that the scope of opentracing-api is provided
   
   - What is expected to see?
   
   the scope of opentracing-api is compile
   
   - What did you see instead?
   
   2. Please tell us about your environment:
   
   develop
   
   4. Other information (e.g. detailed explanation, logs, related issues, 
suggestions on how to fix, etc):
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to