Security

SPLUNK SDK JAVA

sanchez12
Observer

Hi, 

I am new in splunk and I'm trying to figure out how it works, I download the splunk-sdk-java project from git and I have a free trial as well. I am trying to do the logging test in order to see if I am able to connect but I am getting this error: 

Exception in thread "main" java.lang.NoClassDefFoundError: com/splunk/ServiceArgs
at login.main(login.java:23)
Caused by: java.lang.ClassNotFoundException: com.splunk.ServiceArgs
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)

Someone can guide me to solve this, please?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Don't wait! Accept the Mission Possible: Splunk Adoption Challenge Now and Win ...

Attention everyone! We have exciting news to share! We are recruiting new members for the Mission Possible: ...

Unify Your SecOps with Splunk Mission Control

In today’s post, I'm excited to share some recent Splunk Mission Control innovations. With Splunk Mission ...

Data Preparation Made Easy: SPL2 for Edge Processor

By now, you may have heard the exciting news that Edge Processor, the easy-to-use Splunk data preparation tool ...