ClassNotFoundException on Elasticsearch6RestAgentRule
See original GitHub issueUsing 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:
- Created 4 years ago
- Comments:19 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@SevaSafris I reproduced the issue: https://github.com/malafeev/sa-apps/tree/master/spring-boot-elasticsearch
@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.