NetBeans部署项目(Extjs)报错(二)
1、具体错误如下:
Using CATALINA_BASE: "C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base" Using CATALINA_HOME: "D:\NetBeans\Apache Tomcat 7.0.41" Using CATALINA_TMPDIR: "C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\temp" Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_05" Using CLASSPATH: "D:\NetBeans\Apache Tomcat 7.0.41\bin\bootstrap.jar;D:\NetBeans\Apache Tomcat 7.0.41\bin\tomcat-juli.jar" 三月 27, 2014 11:32:18 下午 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 三月 27, 2014 11:32:19 下午 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 三月 27, 2014 11:32:19 下午 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 三月 27, 2014 11:32:19 下午 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 三月 27, 2014 11:32:20 下午 org.apache.catalina.core.AprLifecycleListener init 严重: An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24 三月 27, 2014 11:32:23 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8084"] 三月 27, 2014 11:32:23 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["ajp-bio-8009"] 三月 27, 2014 11:32:23 下午 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 9925 ms 三月 27, 2014 11:32:24 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Catalina 三月 27, 2014 11:32:24 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.41 三月 27, 2014 11:32:24 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\DoJo.xml 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-tiles is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-html is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-logic is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-nested is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-tiles is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-bean is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-html is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-logic is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://struts.apache.org/tags-nested is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined 三月 27, 2014 11:32:44 下午 org.apache.catalina.startup.TaglibUriRule body 信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined 三月 27, 2014 11:32:45 下午 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 三月 27, 2014 11:32:45 下午 org.springframework.context.support.AbstractApplicationContext prepareRefresh 信息: Refreshing Root WebApplicationContext: startup date [Thu Mar 27 23:32:45 CST 2014]; root of context hierarchy 三月 27, 2014 11:32:45 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] 三月 27, 2014 11:32:47 下午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6737ca: defining beans []; root of factory hierarchy 三月 27, 2014 11:32:47 下午 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization completed in 2378 ms 三月 27, 2014 11:32:49 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom 信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [1,628] milliseconds. 三月 27, 2014 11:32:49 下午 org.apache.struts.action.ActionServlet initChain 信息: Loading chain catalog from jar:file:/D:/NetBeans/workspace/DoJo/build/web/WEB-INF/lib/struts-core-1.3.10.jar!/org/apache/struts/chain/chain-config.xml 三月 27, 2014 11:32:50 下午 org.apache.struts.tiles.TilesPlugin initDefinitionsFactory 信息: Tiles definition factory loaded for module ''. 三月 27, 2014 11:32:50 下午 org.apache.struts.validator.ValidatorPlugIn initResources 信息: Loading validation rules file from '/WEB-INF/validator-rules.xml' 三月 27, 2014 11:32:51 下午 org.apache.struts.validator.ValidatorPlugIn initResources 信息: Loading validation rules file from '/WEB-INF/validation.xml' 三月 27, 2014 11:32:52 下午 org.springframework.web.servlet.FrameworkServlet initServletBean 信息: FrameworkServlet 'dispatcher': initialization started 三月 27, 2014 11:32:52 下午 org.springframework.context.support.AbstractApplicationContext prepareRefresh 信息: Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Thu Mar 27 23:32:52 CST 2014]; parent: Root WebApplicationContext 三月 27, 2014 11:32:52 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-servlet.xml] 三月 27, 2014 11:32:52 下午 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@15679f5: defining beans [org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0,urlMapping,viewResolver,indexController]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@6737ca 三月 27, 2014 11:32:52 下午 org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler 信息: Mapped URL path [/index.htm] onto handler 'indexController' 三月 27, 2014 11:32:55 下午 org.springframework.web.servlet.FrameworkServlet initServletBean 信息: FrameworkServlet 'dispatcher': initialization completed in 3173 ms 三月 27, 2014 11:32:55 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\manager.xml 三月 27, 2014 11:32:56 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\ROOT.xml 三月 27, 2014 11:32:56 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8084"] 三月 27, 2014 11:32:56 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["ajp-bio-8009"] 三月 27, 2014 11:32:56 下午 org.apache.catalina.startup.Catalina start 信息: Server startup in 32880 ms 三月 27, 2014 11:34:53 下午 org.apache.catalina.startup.HostConfig deployDescriptor 信息: Deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\FoundationDatabase.xml 三月 27, 2014 11:35:00 下午 org.apache.catalina.core.ContainerBase addChildInternal 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/FoundationDatabase]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860) at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalArgumentException: The servlets named [CurrentUser] and [CurrentUser] are both mapped to the url-pattern [/CurrentUser] which is not permitted at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:335) at org.apache.catalina.deploy.WebXml.merge(WebXml.java:1691) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1331) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5269) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 40 more 三月 27, 2014 11:35:00 下午 org.apache.catalina.startup.HostConfig deployDescriptor 严重: Error deploying configuration descriptor C:\Users\Administrator.FOXB2MKB3RGUNIL\AppData\Roaming\NetBeans\7.4\apache-tomcat-7.0.41.0_base\conf\Catalina\localhost\FoundationDatabase.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/FoundationDatabase]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:535) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791) at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860) at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)
2、分析原因