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!

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...