我的应用程序在几天前工作正常,但是当我今天执行它时,我收到以下错误:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ContestiOpenDataJungle]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) ~[catalina.jar:7.0.55]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) [catalina.jar:7.0.55]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) [catalina.jar:7.0.55]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) [catalina.jar:7.0.55]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083) [catalina.jar:7.0.55]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880) [catalina.jar:7.0.55]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_25]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld/TldParser
at org.apache.jasper.servlet.TldScanner.<init>(TldScanner.java:86) ~[na:na]
at org.apache.jasper.servlet.JasperInitializer.newTldScanner(JasperInitializer.java:120) ~[na:na]
at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101) ~[na:na]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5479) ~[catalina.jar:7.0.55]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[catalina.jar:7.0.55]
... 10 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.apache.tomcat.util.descriptor.tld.TldParser
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) ~[catalina.jar:7.0.55]
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) ~[catalina.jar:7.0.55]
... 15 common frames omitted
2015-07-24 19:36:41,289 | ERROR | Error deploying web application archive C:\Users\Rosario\Desktop\platform-community-4.1.0\webapps\ContestiOpenDataJungle.war [org.apache.catalina.startup.HostConfig<localhost-startStop-2>]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ContestiOpenDataJungle]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) ~[catalina.jar:7.0.55]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) ~[catalina.jar:7.0.55]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) ~[catalina.jar:7.0.55]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1083) ~[catalina.jar:7.0.55]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1880) [catalina.jar:7.0.55]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_25]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_25]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25]
我试图更改tomcat但它没有改变,现在我不知道错误是什么。
答案 0 :(得分:0)
编辑您的pom文件,并将此类org / apache / tomcat / util / descriptor / tld / TldParser的jar文件添加到您的pom文件中。 请看这个链接:add TldParser to pom file