Logstash fail to start - Error: Mainclass logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar


#1

Hi Everybody!

I Downloaded Logstash and tried to run a test "logststash.conf" to gather data from my sql server.

Oh, I am using Windows 10.

When i try to run logstash -f logststash.conf i get the following error:

c:\Users\105026676\Downloads\Elastic Stack\logstash-6.4.1\bin
λ logstash -f logstash.conf
Fehler: Hauptklasse Stack\logstash-6.4.1\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;c:\Users\105026676\Downloads\Elastic konnte nicht gefunden oder geladen werden

Sorry for the german. It says something like:

Error: Mainclass Stack\logstash-6.4.1\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;c:\Users\105026676\Downloads\Elastic could not be found or loaded

Seems like a path problem, but i can't figure out what i need to set and where.

best regards
Konrad


(will yang) #2

I have the same issue. Could someone please help? Thanks!


#3

Had the same issue and after reading multiple post, moving the logstash directory to a place that had no spaces (in my case C:\Program Files\Elastic\Logstash\6.4.2\bin) to c:\Elastic\Logstash\6.4.2\bin finally was able to start/run the logstash.bat

I actually moved the whole directory (and all contents) to avoid the spaces


(Dhilip Kumar) #4

Hey Dude,

Just rename the folder name from "Elastic Stack" to "Elastic_Stack".

Thanks
Simon Dhilip


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.