• Tomcat启动失败问题 (指定的主资源集 [D:javaapache-tomcat-9.0.35webappsAppManageSystem] 无效)


    警告: 部署描述符[D:javaapache-tomcat-9.0.35confCatalinalocalhostAppManageSystem.xml]中值为[/AppManageSystem]的路径属性已被忽略
    九月 15, 2020 1:53:37 下午 org.apache.catalina.startup.HostConfig deployDescriptor
    警告: (:在主机appBase 中指定了docBase [D:javaapache-tomcat-9.0.35webappsAppInfoSystem],将被忽略
    九月 15, 2020 1:53:37 下午 org.apache.catalina.startup.HostConfig deployDescriptor
    严重: 部署描述符[D:javaapache-tomcat-9.0.35confCatalinalocalhostAppManageSystem.xml]时出错
    java.lang.IllegalStateException: 启动子级时出错
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:720)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
    	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631)
    	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
    	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
    	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
    	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
    Caused by: org.apache.catalina.LifecycleException: 无法启动组件[org.apache.catalina.webresources.StandardRoot@57a3e26a]
    	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.StandardContext.resourcesStart(StandardContext.java:4800)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4936)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
    	... 37 more
    Caused by: java.lang.IllegalArgumentException: 指定的主资源集 [D:javaapache-tomcat-9.0.35webappsAppManageSystem] 无效
    	at org.apache.catalina.webresources.StandardRoot.createMainResourceSet(StandardRoot.java:751)
    	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:708)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    	... 41 more
    
    九月 15, 2020 1:53:37 下午 org.apache.catalina.startup.HostConfig deployDescriptor
    信息: 部署描述符[D:javaapache-tomcat-9.0.35confCatalinalocalhostAppManageSystem.xml]的部署已在[78]ms内完成
    九月 15, 2020 1:53:37 下午 org.apache.catalina.startup.HostConfig deployDirectory
    信息: 把web 应用程序部署到目录 [D:javaapache-tomcat-9.0.35webappsAppInfoSystem]
    

      

    解决:
    删除配置记录即可

    1.找到tomcat所在路径,删除webapps下对应的项目。
    2.修改conf下server.xml ,把 < host > 中与项目对应的< context > 删除。
    3.删除workCatalinalocalhost下对应的项目文件

  • 相关阅读:
    在MPTCP中引入流量监控——bwm-ng的使用说明
    Ubuntu下配置MPTCP
    实现两台MPTCP主机之间的通信——VSFTPD的配置与使用
    Google 辟谣,Android 和 Chrome OS 不合并
    paper-7
    计算机网络方面国际三大顶尖会议
    谷歌物联网操作系统Android Things揭开面纱
    张纯如
    Android binder机制之 5 --(创建binder服务)
    【BZOJ 1491】[NOI2007]社交网络
  • 原文地址:https://www.cnblogs.com/acme6/p/13672750.html
Copyright © 2020-2023  润新知