Skip to content
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

Error: jaeger did not resolve to a tracer JAR or name #8

Open
nsreenath opened this issue Jun 28, 2019 · 2 comments
Open

Error: jaeger did not resolve to a tracer JAR or name #8

nsreenath opened this issue Jun 28, 2019 · 2 comments

Comments

@nsreenath
Copy link

I am using Windows 10 and didn't have make installed. So I directly run mvn package and then run the following java command and got the following error.

java -cp target/api-1.0-SNAPSHOT-shaded.jar -javaagent:opentracing-specialagent-1.3.1.jar -Dsa.tracer=jaeger -Dsa.log.level=INFO -DJAEGER_SERVICE_NAME=Microdonuts com.otsample.api.App

Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Unknown Source)
Caused by: java.lang.IllegalStateException: TRACER_PROPERTY=jaeger did not resolve to a tracer JAR or name
        at io.opentracing.contrib.specialagent.SpecialAgent.loadTracer(SpecialAgent.java:503)
        at io.opentracing.contrib.specialagent.SpecialAgent.initialize(SpecialAgent.java:255)
        at io.opentracing.contrib.specialagent.ByteBuddyManager.premain(ByteBuddyManager.java:103)
        at io.opentracing.contrib.specialagent.SpecialAgent.premain(SpecialAgent.java:166)
        ... 6 more
FATAL ERROR in native method: processing of -javaagent failed

What could be the issue ?

@zlay0701
Copy link

you can user MinGW in Windows 10

see https://blog.csdn.net/C2681595858/article/details/85554359

@nsreenath
Copy link
Author

Yes, but the issue is not related to make file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants