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

  1. ,

    If the directory ../.foo/bar/ doesn't exist, you can't create a file there, so make sure you create the directory first.

    File f = new File("somedirname1/somedirname2/somefilename");
    if (!f.getParentFile().exists())
        f.getParentFile().mkdirs();
    

Solutions on the web

via GitHub by Creeperface01
, 1 year ago
No such file or directory
via Oracle Community by owb-beeotch, 1 year ago
via Google Groups by Jose Blanco, 3 months ago
No such file or directory
via Google Groups by Beatriz Langiano, 3 months ago
No such file or directory
via Google Groups by Aakash Chauhan, 3 months ago
via Coderanch by Tony May, 1 year ago
No such file or directory
java.io.IOException: No such file or directory	at java.io.UnixFileSystem.createFileExclusively(Native Method)	at java.io.File.createNewFile(File.java:1012)	at cn.nukkit.utils.Config.load(Config.java:132)	at cn.nukkit.utils.Config.(Config.java:99)	at cn.nukkit.utils.Config.(Config.java:86)	at cn.nukkit.utils.Config.(Config.java:82)	at cn.nukkit.plugin.PluginBase.reloadConfig(PluginBase.java:239)	at cn.nukkit.plugin.PluginBase.getConfig(PluginBase.java:218)	at org.itxtech.synapseapi.SynapseAPI.onEnable(SynapseAPI.java:61)	at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89)	at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:120)	at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:452)	at cn.nukkit.Server.enablePlugin(Server.java:612)	at cn.nukkit.Server.enablePlugins(Server.java:601)	at cn.nukkit.Server.(Server.java:380)	at cn.nukkit.Nukkit.main(Nukkit.java:65)