我正在用docx4j写一个简单的程序,但是
java.lang.NoSuchMethodError: org.apache.log4j.Logger.getAllAppenders()我确实安装了log4j 1.2.15 (列在docx4j的依赖项中)。有没有人遇到过同样的问题?
发布于 2013-07-09 00:40:12
我通过配置docx4j.properties文件设法解决了这个问题:
# If you haven't configured log4j yourself
# docx4j will autoconfigure it. Set this to true to disable that
docx4j.Log4j.Configurator.disabled=truehttps://stackoverflow.com/questions/17492978
复制相似问题