我的做法比较简单: 1、先封装一个类 import org.apache.log4j.Category; import org.apache.log4 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交