启动tomcat 报错 坐等大侠指教

问题描述

十一月21,20141:37:47下午org.apache.catalina.core.ContainerBasestartInternal严重:Achildcontainerfailedduringstartjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/reg]]atjava.util.concurrent.FutureTask.report(UnknownSource)atjava.util.concurrent.FutureTask.get(UnknownSource)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)atorg.apache.catalina.core.StandardHost.startInternal(StandardHost.java:799)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)atjava.util.concurrent.FutureTask.run(UnknownSource)atjava.util.concurrent.ThreadPoolExecutor.runWorker(UnknownSource)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)atjava.lang.Thread.run(UnknownSource)Causedby:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/reg]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)...6moreCausedby:java.lang.IllegalArgumentException:Theservletsnamed[HSApexWebCore]and[HSApexWebCore]arebothmappedtotheurl-pattern[/HSApexWebCore]whichisnotpermittedatorg.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:292)atorg.apache.catalina.deploy.WebXml.merge(WebXml.java:1686)atorg.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1326)atorg.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:873)atorg.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:371)atorg.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)atorg.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...6more十一月21,20141:37:47下午org.apache.catalina.core.ContainerBasestartInternal严重:Achildcontainerfailedduringstartjava.util.concurrent.ExecutionException:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost]]atjava.util.concurrent.FutureTask.report(UnknownSource)atjava.util.concurrent.FutureTask.get(UnknownSource)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)atorg.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.StandardService.startInternal(StandardService.java:443)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.core.StandardServer.startInternal(StandardServer.java:731)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)atorg.apache.catalina.startup.Catalina.start(Catalina.java:689)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)atjava.lang.reflect.Method.invoke(UnknownSource)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:321)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)Causedby:org.apache.catalina.LifecycleException:Failedtostartcomponent[StandardEngine[Catalina].StandardHost[localhost]]atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)atorg.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)atjava.util.concurrent.FutureTask.run(UnknownSource)atjava.util.concurrent.ThreadPoolExecutor.runWorker(UnknownSource)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)atjava.lang.Thread.run(UnknownSource)Causedby:org.apache.catalina.LifecycleException:Achildcontainerfailedduringstartatorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)atorg.apache.catalina.core.StandardHost.startInternal(StandardHost.java:799)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)...6more

解决方案

解决方案二:
Theservletsnamed[HSApexWebCore]and[HSApexWebCore]arebothmappedtotheurl-pattern[/HSApexWebCore]whichisnotpermittedweb.xml中的url-pattern配置中出现了多处HSApexWebCore,楼主检查一下
解决方案三:
我的web.xml中不存在这个名字我这个是一个portal依赖的都是jar包只有jsp页面<?xmlversion="1.0"encoding="UTF-8"?><web-appxmlns:xsi="http://www.w3.org/2001/xmlSchema-instance"xmlns="http://JAVA.sun.com/xml/ns/j2ee"xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp"xmlns:web="http://xmlns.jcp.org/xml/ns/javaee"xsi:schemaLocation="http://JAVA.sun.com/xml/ns/j2eehttp://JAVA.sun.com/xml/ns/j2ee/web-app_2_4.xsd"version="2.4"><display-name>ArchetypeCreatedWebApplication</display-name><listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener><listener><listener-class>org.springframework.web.context.request.RequestContextListener</listener-class></listener><servlet><servlet-name>apex</servlet-name><servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class></servlet><context-param><param-name>contextConfigLocation</param-name><param-value>classpath*:/applicationContext.xml</param-value></context-param><filter><filter-name>encodingFilter</filter-name><filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class><init-param><param-name>encoding</param-name><param-value>UTF-8</param-value></init-param><init-param><param-name>forceEncoding</param-name><param-value>true</param-value></init-param></filter><filter-mapping><filter-name>encodingFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping><servlet-mapping><servlet-name>apex</servlet-name><url-pattern>*.do</url-pattern></servlet-mapping><servlet-mapping><servlet-name>apex</servlet-name><url-pattern>*.ax</url-pattern></servlet-mapping><servlet-mapping><servlet-name>apex</servlet-name><url-pattern>/</url-pattern></servlet-mapping><servlet><servlet-name>CXFServlet</servlet-name><servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class></servlet><servlet-mapping><servlet-name>CXFServlet</servlet-name><url-pattern>/services/*</url-pattern></servlet-mapping><filter><filter-name>shiroFilter</filter-name><filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class><async-supported>true</async-supported><init-param><param-name>targetFilterLifecycle</param-name><param-value>true</param-value></init-param></filter><filter-mapping><filter-name>shiroFilter</filter-name><url-pattern>/*</url-pattern><dispatcher>REQUEST</dispatcher></filter-mapping><jsp-config><taglib><taglib-uri>/apexestaglib</taglib-uri><taglib-location>/WEB-INF/tag/apex/form/apexeslib.tld</taglib-location></taglib></jsp-config></web-app>
解决方案四:
这么说还真看不出来错误在哪里。你的tomcatwebapps下面放了几个工程呢?将tomcat停掉,删除logs,temp和work这三个目录下面的文件重启tomcat,看看是否还报这个错误
解决方案五:
直接重新解压一个小猫吧

时间: 2024-11-05 12:19:56

启动tomcat 报错 坐等大侠指教的相关文章

mycelipse 启动tomcat 报错

问题描述 mycelipse 启动tomcat 报错 1C myeclipse-blue 同时开启两个,一个正常一个报错如下: 解决方案 虚拟机配置错误,重新配置一下虚拟机 解决方案二: 注:Unrecognized option: -vmargs 错误吗 解决方案三: 启动tomcat报错tomcat启动报错解决方案Tomcat启动报错,一闪而过 等问题 解决方案四: 不能创建Java虚拟机,一个严重的异常操作,程序将返回,之前我有个同学也遇到过,没什么大问题,清理一下垃圾和插件,然后重启一下

图片-eclipse下启动tomcat报错

问题描述 eclipse下启动tomcat报错 解决方案 你的这个目录下边是不是空的啊 解决方案二: 我怎么觉得你的路径有些问题呢 解决方案三: 我用的是eclipse-jee-indigo-SR2-win32这个版本,其它版本可能有所不同 配置servers服务时,会在工作路径下创建一个servers.且不会把调试目录放入Tomcat里的webapps里.但用地址仍可访问.等工程完成可以打包成.war手工放入webapps里. 1.找不到apr--(这个网上很多的,搜一下,要下一个对应版本的t

eclipse启动tomcat报错

问题描述 eclipse启动tomcat报错 一下报错信息:FATAL ERROR in native method: JDWP No transports initialized jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)ERROR: transport error 202: gethostbyname: unknown hostERROR: JDWP Transport dt_socket failed to initialize TRANSPORT

myeclipse中启动tomcat报错

问题描述 myeclipse中启动tomcat报错 在myeclipse中启动tomcat时报错,不知道怎么解决,请网友指点:报错信息如下Deployment is out of date due to changes in the underlying project contents.You'll need to 'Redeploy' the project to update the deployed archive; 警告提示是:构建路径指定执行环境 JavaSE-1.6.工作空间中没有

eclipse中,使用tomcat插件启动tomcat报错

问题描述 eclipse中,使用tomcat插件启动tomcat报错 具体错误: SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [/manager] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalin

spring3-ssh2框架整合启动tomcat报错!!!

问题描述 ssh2框架整合启动tomcat报错!!! 严重: Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [D:Toolapache-tomcat-6.0.36webappsNewsWEB-INFclassesapplicationContext-db

web.xml-在线等,在eclipse中引入其他项目,启动tomcat报错

问题描述 在线等,在eclipse中引入其他项目,启动tomcat报错 SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCon

linux中myecplise启动tomcat报错

问题描述 linux中myecplise启动tomcat报错 我装了myeclipse2014和tomcat8.0和jdk1.8,jdk安装无任何问题,但是启动tomcat时就报错我是linux菜鸟新手,希望大神帮助,给个详细的解决办法,谢谢!: 二月 21, 2015 9:01:21 下午 org.apache.catalina.valves.AccessLogValve open 严重: Failed to open access log file [/home/snow/soft/tomc

apache+tomcat 启动tomcat 报错 求大神赐教

问题描述 apache+tomcat 启动tomcat 报错 求大神赐教 解决方案 看看org.apache.catalina.filters.CsrfPreventionFilter.jar有没有正确部署. 解决方案二: CsrfPreventionFilter.jar 这个包没有安装吧