java.nio.file.NoSuchFileException: /usr/share/elasticsearch/config

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Thrown when an attempt is made to access a file that does not exist. Ensure that the directory, target/test-classes, exists.

Solutions on the web

via Stack Overflow by MUmla
, 1 year ago
/usr/share/elasticsearch/config
via Stack Overflow by Mahdi Shabeeb
, 1 year ago
/usr/share/elasticsearch/config
via GitHub by nan008
, 9 months ago
/usr/share/elasticsearch/config
via GitHub by SalahAdDin
, 1 year ago
/usr/share/elasticsearch/config
via GitHub by SalahAdDin
, 1 year ago
/usr/share/elasticsearch/config
via Stack Overflow by Alter Lagos
, 1 year ago
java.nio.file.NoSuchFileException: /usr/share/elasticsearch/config
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:144)
at sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:97)
at java.nio.file.Files.readAttributes(Files.java:1686)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:109)
at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69)
at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:142)
at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:103)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:243)

Users with the same issue

Once, 52 minutes ago
12 times, 6 days ago
2 times, 1 week ago
Once, 2 weeks ago
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.