I m using Elasticsearch 6.3.1 and xpack 6.3.1,here is the Exception in my project
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.unboundid.util.Debug
at org.elasticsearch.xpack.core.XPackPlugin$1.run(XPackPlugin.java:101)
at org.elasticsearch.xpack.core.XPackPlugin$1.run(XPackPlugin.java:95)
at java.security.AccessController.doPrivileged(Native Method)
at org.elasticsearch.xpack.core.XPackPlugin.(XPackPlugin.java:95)
... 82 more
Caused by: java.lang.ClassNotFoundException: com.unboundid.util.Debug
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1328)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.elasticsearch.xpack.core.XPackPlugin$1.run(XPackPlugin.java:99)
... 85 more
and here is my gradle
repositories{
maven{
url:"https://artifacts.elastic.co/maven"
}
}
dependencies{
compile 'org.elasticsearch.client:x-pack-transport:6.3.1'
}
and i check the stack source code ,it is in a static are ,its looking for class com.unboundid.util.Debug
try {
AccessController.doPrivileged(new PrivilegedAction<Void>() {
public Void run() {
try {
Class.forName("com.unboundid.util.Debug");
return null;
} catch (ClassNotFoundException var2) {
throw new RuntimeException(var2);
}
}
});
}
please help me with this ,i m sure it can be downloaded and used. but still have this problem.