Error: Could not find or load main class Warning:

Whenever I am trying to start elasticserach from windows command prompt. I am getting following error.

Error: Could not find or load main class Warning:

I installed elasticsearch from .MSI installation file.

I had the same issue, forget about MSI it is still in beta, download the zip file and execute the bat.

https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-windows-x86_64.zip

unzip and execute:

bin\elasticsearch.bat

Works for me!

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