question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ClassNotFoundException on Elasticsearch6RestAgentRule

See original GitHub issue

Using SpecialAgent version 1.1.0, I get the following exception that prevents the application from booting:

java.lang.ClassNotFoundException: io.opentracing.contrib.specialagent.elasticsearch.Elasticsearch6RestAgentRule
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.elasticsearch.client.RestClientBuilder.build(RestClientBuilder.java:180)
	at <truncated>.EsClientFactory.getClient(EsClientFactory.java:26)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
malafeevcommented, Jun 12, 2019

@khiradeshubham I think it’s better to track in separate issue. Please provide also java version, like output from java -version and sample application if possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve ClassNotFoundException? - Stack Overflow
A classpath is a list of locations to load classes from. These 'locations' can either be directories, or jar files.
Read more >
The java-specialagent from opentracing-contrib - GithubHelp
ClassNotFoundException : io.opentracing.contrib.specialagent.elasticsearch.Elasticsearch6RestAgentRule at java.net.URLClassLoader.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found