Last month I installed V8.3.2 on windows 2022, everything was ok, but today I stop and deleted V8.3.2, and downloaded 8.4.2 from the official website, use the same config, the system reported an error and could not start, the error is:
PS D:\Elastic\elasticsearch-01\bin> .\elasticsearch.bat
Exception in thread "main" java.lang.NoClassDefFoundError: org/elasticsearch/cli/ProcessInfo
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:52)
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.cli.ProcessInfo
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 1 more
how should I solve it? Is it because I deleted the old version?
PS D:\Elastic\elasticsearch-01> .\bin\elasticsearch.bat
Exception in thread "main" java.lang.NoClassDefFoundError: org/elasticsearch/cli/ProcessInfo
at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:52)
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.cli.ProcessInfo
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 1 more
Thanks for your suggestion!
I re-checked all the steps and I found the zip file 'elasticsearch-8.4.2-windows-x86_64' use 'sha512' check fail , I guess should be an error in the download process, after re-downloading and decompressing everything is ok.
I made a low-level mistake and wasting your time, I'm so sory .
Thanks again.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.