fatal exception while booting Elasticsearch
java.nio.file.InvalidPathException: Trailing char < > at index 48:
C:\Program Files\Java\jdk1.8.0_181\lib\tools.jar at
sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:191)
~[?:?] at
sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) ~[?:?]
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
~[?:?] at sun.nio.fs.WindowsPath.parse(WindowsPath.java:92) ~[?:?]
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:232)
~[?:?] at org.elasticsearch.core.PathUtils.get(PathUtils.java:47)
~[elasticsearch-core-8.6.1.jar:?] at
org.elasticsearch.jdk.JarHell.parseClassPath(JarHell.java:150)
~[elasticsearch-core-8.6.1.jar:?] at
org.elasticsearch.jdk.JarHell.parseClassPath(JarHell.java:93)
~[elasticsearch-core-8.6.1.jar:?] at
org.elasticsearch.jdk.JarHell.checkJarHell(JarHell.java:84)
~[elasticsearch-core-8.6.1.jar:?] at
org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:180)
~[elasticsearch-8.6.1.jar:?] at
org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:66)
~[elasticsearch-8.6.1.jar:?]文章来源:https://www.toymoban.com/news/detail-441538.html
检测环境变量中classpath最后面是否有空格!!!如有删掉即可!
文章来源地址https://www.toymoban.com/news/detail-441538.html
到了这里,关于Elasticsearch8.6启动异常:fatal exception while booting Elasticsearch的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!