0
如果有人有相同的問題:的Websphere 8.5.5啓用了Java 1.7.0和Struts方面(RSA 9.0)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R java.lang.NumberFormatException: null [11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at java.lang.Integer.parseInt(Integer.java:466)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at java.lang.Integer.(Integer.java:689)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ModuleConfigXmlParser.startElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ModuleConfigXmlParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ActionServlet.initModuleConfig(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ActionServlet.init(Unknown Source)
的Java 7上現有的配置文件中啓用。 已部署的應用程序和IDE行爲很奇怪。我試過很多不同的選項(改變類加載策略,更改構建路徑JRE,刪除struts支持,刪除wstemp文件夾,將xerces和xalan jar放入WEB-INF/lib文件夾中),但似乎沒有任何工作。
我能夠通過創建新的WAS配置文件再次啓用Java 7並解決此問題。
您可能希望將最後一位複製到答案中並將其標記爲已接受。這將幫助人們將其視爲已解決而不是公開[一目瞭然] – covener