Exception in thread “main” java.nio.file.NotDirectoryException: /Users/lin/software/elasticsearch/elasticsearch-7.13.2/plugins/.DS_Store
at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:418)
at java.base/java.nio.file.Files.newDirectoryStream(Files.java:476)
at java.base/java.nio.file.Files.list(Files.java:3765)
at org.elasticsearch.tools.launchers.BootstrapJvmOptions.getPluginInfo(BootstrapJvmOptions.java:49)
at org.elasticsearch.tools.launchers.BootstrapJvmOptions.bootstrapJvmOptions(BootstrapJvmOptions.java:34)
at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:137)
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)
[process completed]
There is no such file in the plugins folder
Use ls -a to see the .DS_Store file, delete it directly, and then start ES.
Read More:
- Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- How to Fix Exception in thread “main“ com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
- Python error unhandled exception in thread started by error in sys.excepthook
- java.nio.charset.MalformedInputException: Input length = 1
- [Solved] org.mongodb.driver.cluster – Exception in monitor thread while connecting to server node1:27017
- Error: Exception was raised when calling per-thread-terminate function in extension lrwreplaymain.dl
- Java class file operation and exception
- org.yaml.snakeyaml.error.YAMLException: java.nio.charset.MalformedInputException: Input length = 1
- Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Error = 2, no such file or director is prompted in the lower left corner of the MAC pycharm running file
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- How to generate main () method in java graphical interface
- Tomcat9 Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
- Cause check of unreachable statement exception in Java
- Vs error unresolved external symbol_ Main, the symbol in the function “int”__ cdecl invoke_ main
- The Java command could not find or load the main class
- Java – read all the files and folders in a certain directory and three methods to get the file name from the file path
- Idea startup project: main class not found or cannot be loaded