当我尝试在Linux下执行脚本以运行java程序时,它开始提供此
java.io.FileNotFoundException: ./mail.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
请告诉我,我该如何解决?
谢谢