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 Kopf02
, 1 year ago
via Google Groups by Derek Messie, 8 months ago
No such file or directory >
via Google Groups by Sandy De Groote, 8 months ago
via Oracle Community by 807596, 2 years ago
java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at net.alpenblock.bungeeperms.Debug.<init>(Debug.java:31) at net.alpenblock.bungeeperms.BungeePerms.<init>(BungeePerms.java:49) at net.alpenblock.bungeeperms.platform.bungee.BungeePlugin.onLoad(BungeePlugin.java:63) at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:309) at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:212) at net.md_5.bungee.BungeeCord.start(BungeeCord.java:263) at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55) at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)