I encountered this problem when writing Java log 4J log
I went to Baidu first. The possible reasons are as follows:
The jar package of 1 ﹣ log4j ﹣ is not correct
2. Install MyEclipse to disk C
3. The C disk of the computer is set with permission and cannot access the C: mylog.log PS: my problem
Then go to the log4j configuration file and modify the path
Change the path to disk d to solve the problem^-^
Thank you for your help~~~~~~