Warning:
log4j:WARN No appenders could be found for logger (org.apache.pdfbox.pdfparser.PDFObjectStreamParser).
log4j:WARN Please initialize the log4j system properly.
可以去以下的网站查看错误:
http://pdfbox.apache.org/userguide/faq.html
也可以查看如下网站“
http://stackoverflow.com/questions/13497944/how-to-handle-log4j-no-appenders-error
内容:
Why is this?
The reason why you see this message is that your log4j configuration file(i.e. log4j.xml or log4j.properties) is NOT found in the classpath. Placing the log4j configuration file in the applications classpath should solve the issue.
is this important?
Depends on requirement, if you want messages logged to a file with defined levels, then yes you need to fix this warning. Otherwise you may ignore.