java.io.FileNotFoundException: log4j.properties (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

,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

Solutions on the web

via Stack Overflow by Ittikorn S.
, 1 year ago
log4j.properties (No such file or directory)
via GitHub by benjyw
, 2 years ago
log4j.properties (No such file or directory)
via javatalks.ru by Unknown author, 2 years ago
via Stack Overflow by Harsha
, 2 years ago
conf/log4j.properties (No such file or directory)
via Google Groups by Pep, 2 years ago
TestOutputFile (No such file or directory)
via GitHub by ericzundel
, 2 years ago
log4j.properties (No such file or > directory)
java.io.FileNotFoundException: log4j.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at java.io.FileInputStream.(FileInputStream.java:101)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:297)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:315)
at portal.client.Main.main(Main.java:32)

Users with the same issue

5 times, 2 weeks ago
4 times, 1 month ago
2 times, 1 month ago
Once, 3 months ago
5 times, 3 months ago

Write tip

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