org.xml.sax.SAXParseException:Attribute" controllerClass"必须声明元素类型"定义"

时间:2016-03-17 09:35:00

标签: tiles dtd struts-1

通过发布我的应用程序启动WAS 8.5服务器时,我收到以下错误:

[3/17/16 14:29:50:216 IST] 0000004c Digester E org.apache.commons.digester.Digester error第99行第169行的分析错误:属性" controllerClass"必须声明元素类型"定义"。                                  org.xml.sax.SAXParseException:Attribute" controllerClass"必须声明元素类型"定义"。     at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)     在org.apache.xerces.util.ErrorHandlerWrapper.error(未知来源)     在org.apache.xerces.impl.XMLErrorReporter.reportError(未知来源)     在org.apache.xerces.impl.XMLErrorReporter.reportError(未知来源)     at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)     at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(未知来源)     at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(未知来源)     at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDispatcher.dispatch(Unknown Source)     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)     在org.apache.xerces.parsers.XML11Configuration.parse(未知来源)     在org.apache.xerces.parsers.XML11Configuration.parse(未知来源)     在org.apache.xerces.parsers.XMLParser.parse(未知来源)     在org.apache.xerces.parsers.AbstractSAXParser.parse(未知来源)     在org.apache.xerces.jaxp.SAXParserImpl $ JAXPSAXParser.parse(未知来源)     在org.apache.commons.digester.Digester.parse(Digester.java:1765)     在org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:281)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:514)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:449)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:266)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:241)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:191)     at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:105)     at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:175)     在org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:182)     在org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:226)     在org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:141)     at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)     在org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)     在javax.servlet.GenericServlet.init(GenericServlet.java:161)     在com.s1.arch.ui.action.CustomActionServlet.init(CustomActionServlet.java:242)     在com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)     在com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)     在com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)     在com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:623)     在com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:589)     在com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)     在com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)     在com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)     在com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)     在com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1177)     at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)     在com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)     在com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)     在com.ibm.ws.runtime.component.ApplicationMgrImpl $ 5.run(ApplicationMgrImpl.java:2195)     在com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5477)     在com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5603)     在com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2200)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)     在com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access $ 500(CompositionUnitMgrImpl.java:126)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl $ CUInitializer.run(CompositionUnitMgrImpl.java:984)     at com.ibm.wsspi.runtime.component.WsComponentImpl $ _AsynchInitializer.run(WsComponentImpl.java:502)     在com.ibm.ws.util.ThreadPool $ Worker.run(ThreadPool.java:1865)

[3/17/16 14:29:50:218 IST] 0000004c Digester E org.apache.commons.digester.Digester error第108行第181行的分析错误:属性" controllerClass"必须声明元素类型"定义"。                                  org.xml.sax.SAXParseException:Attribute" controllerClass"必须声明元素类型"定义"。     at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)     在org.apache.xerces.util.ErrorHandlerWrapper.error(未知来源)     在org.apache.xerces.impl.XMLErrorReporter.reportError(未知来源)     在org.apache.xerces.impl.XMLErrorReporter.reportError(未知来源)     at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)     at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(未知来源)     at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(未知来源)     at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl $ FragmentContentDispatcher.dispatch(Unknown Source)     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)     在org.apache.xerces.parsers.XML11Configuration.parse(未知来源)     在org.apache.xerces.parsers.XML11Configuration.parse(未知来源)     在org.apache.xerces.parsers.XMLParser.parse(未知来源)     在org.apache.xerces.parsers.AbstractSAXParser.parse(未知来源)     在org.apache.xerces.jaxp.SAXParserImpl $ JAXPSAXParser.parse(未知来源)     在org.apache.commons.digester.Digester.parse(Digester.java:1765)     在org.apache.struts.tiles.xmlDefinition.XmlParser.parse(XmlParser.java:281)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:514)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:449)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:266)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:241)     at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:191)     at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:105)     at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:175)     在org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:182)     在org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:226)     在org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:141)     at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)     在org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)     在javax.servlet.GenericServlet.init(GenericServlet.java:161)     在com.s1.arch.ui.action.CustomActionServlet.init(CustomActionServlet.java:242)     在com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)     在com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)     在com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)     在com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:623)     在com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:589)     在com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)     在com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)     在com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)     在com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)     在com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1177)     at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)     在com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)     在com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:776)     在com.ibm.ws.runtime.component.ApplicationMgrImpl $ 5.run(ApplicationMgrImpl.java:2195)     在com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5477)     在com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5603)     在com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2200)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:435)     在com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:378)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access $ 500(CompositionUnitMgrImpl.java:126)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl $ CUInitializer.run(CompositionUnitMgrImpl.java:984)     at com.ibm.wsspi.runtime.component.WsComponentImpl $ _AsynchInitializer.run(WsComponentImpl.java:502)     在com.ibm.ws.util.ThreadPool $ Worker.run(ThreadPool.java:1865)

请有人帮忙。

0 个答案:

没有答案