蓝凌ekp开发_蓝凌EKP在eclipse中启动报错

本文主要讨论了在使用Eclipse启动蓝凌EKP时遇到的严重错误,该错误涉及org.apache.catalina.deploy.WebXml的NoSuchMethodException。解析web.xml文件时发生错误,导致无法正常启动。为了解决这个问题,建议检查和修改tomcat的conf/content.xml配置文件。
摘要由CSDN通过智能技术生成

蓝凌EKP在eclipse中启动报错:

严重: End event threw exception

java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter

at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:916)

at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:201)

at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1046)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1525)

at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1881)

at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1266)

at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:888)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5536)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1689)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1679)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

六月 29, 2020 9:54:39 下午 org.apache.catalina.startup.ContextConfig parseWebXml

严重: 解析应用程序的web.xml错误,位置:[jndi:/localhost/ekp/WEB-INF/web.xml]

org.xml.sax.SAXParseException; systemId: jndi:/localhost/ekp/WEB-INF/web.xml; lineNumber: 31; columnNumber: 11; Error at (31, 11) : org.apache.catalina.deploy.WebXml addFilter

at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2651)

at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2683)

at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1049)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)

at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648)

at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1525)

at org.apache.catalina.startup.ContextConfig.parseWebXml(ContextConfig.java:1881)

at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1266)

at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:888)

at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388)

at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)

at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5536)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1689)

at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1679)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter

at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:916)

at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:201)

at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1046)

... 24 more

处理方法:

找到tomcat下的 conf文件夹下的content.xml,在中添加

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值