Apologies. I will make sure that I follow the guidelines next time.
-
Why did you manually add bouncycastle lib?
Initially when I ran my application, I got the below errorCaused by: java.lang.ClassNotFoundException: com.unboundid.util.Debug
at java.net.URLClassLoader$1.run(URLClassLoader.java:370)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
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 java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.elasticsearch.xpack.XPackPlugin$1.run(XPackPlugin.java:158)
I searched online and implemented the solution given in `this topic . I ran the application after making the above change, now I am getting bouncycastle error
- What is your Java version.
1.8
Yes, I plan to move to rest client in next couple of months.