gpt4 book ai didi

tomcat - 严重 : Null component Catalina:type=JspMonitor, name=jsp,WebModule=//localhost/myproject,J2EEApplication=none,J2EEServer=none

转载 作者:行者123 更新时间:2023-11-28 21:56:51 24 4
gpt4 key购买 nike

我有以下问题。我使用 jdk1.6.0_23 用 eclipse 编译我的项目。但在服务器环境中,tomcat 运行在jre1.6.0_31

SEVERE 的可能原因:空组件 Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/myproject,J2EEApplication=none,J2EEServer=none

May 18, 2012 3:40:41 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jre1.6.0_31/lib/amd64/server:/usr/java/jre1.6.0_31/lib/amd64:/usr/java/jre1.6.0_31/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 18, 2012 3:40:41 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
May 18, 2012 3:40:41 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 436 ms
May 18, 2012 3:40:41 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 18, 2012 3:40:41 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
May 18, 2012 3:40:41 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 18, 2012 3:40:41 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/vas/servers/twit_tomcat/webapps/snp/WEB-INF/lib/jetty-jsp-api-2.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class
May 18, 2012 3:40:41 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/vas/servers/twit_tomcat/webapps/snp/WEB-INF/lib/jsp-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/jsp/JspPage.class
May 18, 2012 3:40:41 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/vas/servers/twit_tomcat/webapps/snp/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
May 18, 2012 3:40:41 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/home/vas/servers/twit_tomcat/webapps/snp/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
May 18, 2012 3:40:43 PM org.apache.commons.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/myproject,J2EEApplication=none,J2EEServer=none
May 18, 2012 3:40:43 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
May 18, 2012 3:40:43 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8012
May 18, 2012 3:40:43 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/18 config=null
May 18, 2012 3:40:43 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 18, 2012 3:40:43 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2116 ms

最佳答案

这可能是 jar 文件冲突的问题。当我从 WEBINF/lib 文件夹中删除 jetty jar 和两个 servlet jar 时,没问题。

关于tomcat - 严重 : Null component Catalina:type=JspMonitor, name=jsp,WebModule=//localhost/myproject,J2EEApplication=none,J2EEServer=none,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10648758/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com