吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 764|回复: 3
收起左侧

[求助] myeclipse启动tomcat报错

[复制链接]
Samding 发表于 2022-10-11 22:22
本帖最后由 Samding 于 2022-10-12 02:55 编辑

[HTML] 纯文本查看 复制代码
信息: 正在部署web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\javaweb.war]
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[XMLSchema.dtd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[datatypes.dtd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[xml.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[j2ee_web_services_1_1.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[j2ee_web_services_client_1_1.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[web-app_2_4.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[j2ee_1_4.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[web-app_2_5.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_5.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_web_services_1_2.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_web_services_client_1_2.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[web-app_3_0.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[web-fragment_3_0.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[web-common_3_0.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_6.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_web_services_1_3.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.tomcat.util.descriptor.DigesterFactory locationFor
警告: XML模型[javaee_web_services_client_1_3.xsd]未找到,如果XML校验功能开启了的话,这很可能终止XML校验
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/javaweb]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
严重: 部署 Web 应用程序 archive [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\javaweb.war] 时出错
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/javaweb]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\javaweb.war]的部署已在[262]ms内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: 正在部署web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\jstl_demo.war]
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jstl_demo]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
严重: 部署 Web 应用程序 archive [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\jstl_demo.war] 时出错
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jstl_demo]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\jstl_demo.war]的部署已在[110]ms内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: 正在部署web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\Samding.war]
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Samding]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
严重: 部署 Web 应用程序 archive [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\Samding.war] 时出错
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Samding]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2019)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployWAR
信息: web应用程序存档文件[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\Samding.war]的部署已在[221]ms内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\docs]
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\docs]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/docs]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\docs]的部署已在[24]毫秒内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\examples]
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\examples]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/examples]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\examples]的部署已在[68]毫秒内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\hello]
十月 11, 2022 10:07:55 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hello]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\hello]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hello]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\hello]的部署已在[34]毫秒内完成
十月 11, 2022 10:07:55 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\host-manager]
十月 11, 2022 10:07:56 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\host-manager]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/host-manager]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\host-manager]的部署已在[48]毫秒内完成
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\manager]
十月 11, 2022 10:07:56 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\manager]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manager]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\manager]的部署已在[26]毫秒内完成
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: 把web 应用程序部署到目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\ROOT]
十月 11, 2022 10:07:56 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
        at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1007)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.getClassLoader()Ljava/lang/ClassLoader;
        at org.apache.catalina.startup.WebappServiceLoader.load(WebappServiceLoader.java:156)
        at org.apache.catalina.startup.ContextConfig.processServletContainerInitializers(ContextConfig.java:1591)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1284)
        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)
        ... 10 more
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: 无法部署应用目录 [O:\Tomcat-test\apache-tomcat-7.0.104\webapps\ROOT]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1011)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:983)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:639)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1296)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2037)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Web应用程序目录[O:\Tomcat-test\apache-tomcat-7.0.104\webapps\ROOT]的部署已在[44]毫秒内完成
十月 11, 2022 10:07:56 下午 org.apache.coyote.AbstractProtocol start
信息: 开始协议处理句柄["http-bio-8889"]
十月 11, 2022 10:07:56 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1166 ms

请问要怎么解决

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

TearApart 发表于 2022-10-12 09:13
检查一下依赖、冲突,应该是加载的方法有问题
decdeva 发表于 2022-10-12 09:26
resetsix 发表于 2022-10-12 10:13
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-25 05:22

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表