No such file or directory

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


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())

Solutions on the web

via Google Groups by (JIRA), 1 year ago
No such file or directory<br /> <span class="error">[ssh-agent]</span>
via Stack Overflow by jonathan
, 3 weeks ago
via by Unknown author, 2 years ago
via by Unknown author, 1 year ago
via by Unknown author, 2 years ago
via by Unknown author, 1 year ago No such file or directory
at Method)
at net.alpenblock.bungeeperms.Debug.log(
at net.alpenblock.bungeeperms.Mysql.connect(
at net.alpenblock.bungeeperms.PermissionsManager.loadConfig(
at net.alpenblock.bungeeperms.PermissionsManager.(
at net.alpenblock.bungeeperms.BungeePerms.(
at net.alpenblock.bungeeperms.platform.bungee.BungeePlugin.onLoad(
at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(
at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(
at net.md_5.bungee.BungeeCord.start(
at net.md_5.bungee.BungeeCordLauncher.main(
at net.md_5.bungee.Bootstrap.main(

Users with the same issue

Once, 1 week ago
Once, 3 weeks ago
4 times, 1 month ago
Once, 1 month ago
Once, 3 months ago

Write tip

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