WebLogic 10.3 org.apache.commons.digester 空指针

在weblogic 10.3 部署Androidpn 项目会无法启动 并报

  java.lang.NullPointerException
        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
        at org.apache.commons.digester.Digester.parse(Digester.java:1887)
        at org.apache.commons.configuration.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:184)
        at org.androidpn.server.util.ConfigManager.loadConfig(ConfigManager.java:72)
        at org.androidpn.server.util.ConfigManager.loadConfig(ConfigManager.java:60)
 


查看之下发现 commons-digester-2.0.jar 包解析XML 有问题

尝试替换这个包commons-digester-1.8.jar 问题解决

 

你可能感兴趣的:(WebLogic 10.3 org.apache.commons.digester 空指针)