OC4J服务器上的Struts 2.3.35和Tiles 2.2错误

时间:2018-09-12 14:16:13

标签: java struts2 tiles2

为了安全起见,我们需要将Struts升级到最新的修订包... 不幸的是,这些应用程序使用jdk 1.6在旧的Web服务器Oc4j上运行。 当我尝试运行示例应用并使用磁贴访问页面时收到此错误。

ERROR org.apache.commons.digester.Digester - Digester.getParser:
java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null" at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448)
      at org.apache.commons.digester.Digester.getFactory(Digester.java:534)
       at org.apache.commons.digester.Digester.getParser(Digester.java:786)
       at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
      at org.apache.commons.digester.Digester.parse(Digester.java:1887) org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:329)

跟着

freemarker.beans  - Key "location" was not found on instance of java.lang.NullPointerException. 

任何帮助将不胜感激!

0 个答案:

没有答案