BenBHX 2008-08-12 16:01
浏览 221
已采纳

加入log4j时出现的错误,如何解决?谢谢

假如log4j的时候出现
Servlet.service() for servlet jsp threw exception
java.lang.SecurityException: class "org.apache.log4j.PropertyConfigurator"'s signer information does not match signer information of other classes in the same package
有无办法解决?谢谢

  • 写回答

2条回答 默认 最新

  • lggegegmail 2008-08-12 17:39
    关注

    由于org.apache.log4j.PropertyConfigurator这个出现在很多别的jar包里面造成的.

    你可以在Eclipse里面查找这个类, 看看它到底在几个jar里面出现过, 将没上的jar去掉应该就好了.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?