sv_ldn
(sv)
January 25, 2019, 12:28pm
1
Get the following error when running elasticsearch.bat
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Users\sv_ldn\ElasticSearch\elasticsearch-6/5/4\lib\elasticsearch-cli-6/5/4/jar
I put an echo in elasticsearch-env.bat before the version check
echo "%JAVA%" -cp "%ES_CLASSPATH%" "org.elasticsearch.tools.java_version_checker.JavaVersionChecker"
The output was
""C:\Oracle\product\11.2.0.2_32\client\jdk\bin\java.exe"" -cp "C:\Users\sv_ldn\ElasticSearch\elasticsearch-6.5.4\lib*" "org.elasticsearch.tools.java_version_checker.JavaVersionChecker"
Any help appreciated in resolving the exception
dadoonet
(David Pilato)
January 25, 2019, 12:45pm
2
This looks weird to me elasticsearch-6/5/4\lib\elasticsearch-cli-6/5/4/jar
. It should be something like elasticsearch-6.5.4\lib\elasticsearch-cli-6.5.4.jar
. Did you modify any file?
sv_ldn
(sv)
January 25, 2019, 12:56pm
3
No, and as you can see if when echo, it does print it out correctly. But the actual exception message does seem to have the weird formatting
sv_ldn
(sv)
January 25, 2019, 12:57pm
4
The only thing I modified was the elasticseach-env.bat to print the echo. Same problem if remove that statement.
dadoonet
(David Pilato)
January 25, 2019, 1:43pm
5
I don't know. May be someone from the microsoft team knows?
system
(system)
Closed
February 22, 2019, 1:43pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.