-
严重: Error deploying web application directory Orde20
2009-2-24 19:24:57 org.apache.commons.modeler.Registry registerComponent
严重: Null component Catalina:type=JspMonitor,WebModule=//localhost/OrderTickets,J2EEApplication=none,J2EEServer=none
2009-2-24 19:24:57 org.apache.catalina.startup.HostConfig deployDirectories
严重: Error deploying web application directory OrderTickets
java.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
at org.apache.commons.logging.impl.Log4JCategoryLog.debug(Log4JCategoryLog.java:94)
at org.apache.catalina.session.ManagerBase.init(ManagerBase.java:627)
at org.apache.catalina.session.StandardManager.start(StandardManager.java:639)
at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)
at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-2-24 19:24:57 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
请各位大虾帮我解答一下,小弟不胜感激!!!!!
问题补充:
classpath路径:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/antlr.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-beanutils.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-collections.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-dbcp-1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-digester.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-fileupload.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-lang.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-logging.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-pool-1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/commons-validator.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/jakarta-oro.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/mysql-connector-java-5.0.7-bin.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts-legacy.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>
2009年2月24日 20:18
5个答案 按时间排序 按投票排序
-
原因:commons-logger.jar和你的log4j.jar版本不兼容。前者是对后者的一个封装。前者的功能就是:它封装了一些通常的日志类,比如log4j,java.util.logging.Logger 等。使用log4j时,由于版本不对,commons-logger中用了log4j中的那个类,在当前的log4j.jar版本中已经不存在了,所以报错。
解决方法:
将class目录下commons-logging.properties
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JCategoryLog
更改为
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger2009年2月26日 08:50
-
java.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
这个说的很清楚了,log4j的版本不对,按照zby.110说的检查classPath中的log4j包2009年2月25日 10:49
相关推荐
在给定的信息中,我们正在部署两个Web应用程序目录——`lx01`和`blog`。这个过程由Apache Tomcat服务器执行,一个流行的Java Servlet容器。然而,部署过程中遇到了问题,特别是与`blog`应用程序相关的错误。 错误...
在生产环境中部署web应用程序时,Tomcat卡死在Deploying web application步骤的问题是一个常见的问题。这个问题可能是由于多种原因引起的,包括但不限于securerandom.source[file:/dev/./urandom]没有指定、数据库...
{"time":"2017-09-06 10:24:48,356","logtype":"INFO","loginfo":"org.apache.catalina.startup.HostConfig:Deploying web application directory C:\Users\admin\Desktop\Tomcat8\webapps\docs"} {"time":"2017-09-...
This resource provides detailed guidance on how to design and deploy directory services, including upgrading and restructuring domains, as well as designing and deploying directory services, and more.
通常用于开发和部署Web应用程序。由于其简单易用、性能稳定等特点,在中小型项目中非常受欢迎。 #### 二、Tomcat的安装与基本配置 ##### 2.1 安装步骤 1. **下载Tomcat**:访问[Apache Tomcat官网]...
《计算机组成原理》是计算机科学领域的一门基础课程,它主要研究计算机系统的基本构造和运行原理。这门学科涵盖了从最底层的硬件到高级软件之间的交互。陈慧南老师的《算法设计与分析》课后习题答案,为学习者提供了...
Deploying an application using Docker and Kubernetes
Deploying with JRuby: Deliver Scalable Web Apps using the JVM
注意:如果在使用Tomcat时出现了Error deploying web application directory web222,很大原因就是jdk和tomcat的版本不匹配。目前,jdk8不能匹配tomcat7.0,所以要降低jdk版本【换成JDK7】 目录的简单介绍 bin:启动...
Beginning iOS Programming: Building and Deploying iOS Applications starts at the beginning—including an introduction to Objective C—and gives you the skills you need to get your apps up and running...
《理解与部署LDAP目录服务》是一本专注于介绍 Lightweight Directory Access Protocol (LDAP) 的技术书籍,旨在帮助读者深入理解和有效实施LDAP目录服务。LDAP是互联网上广泛使用的标准协议,用于访问和管理分布式...
本篇文章将根据提供的文件信息,深入解析“Deploying .NET Application LifeCycle Guides”中提到的关键知识点,特别是关于.NET应用程序如何从开发计算机部署到测试环境,以及如何进一步部署到预发布服务器作为发布...
ASP.NET Core: Cloud-ready, Enterprise Web Application Development by Mugilan T. S. Ragupathi English | 9 Jun. 2017 | ASIN: B072KDVHCS | 1414 Pages | AZW3 | 36.34 MB Create fast, scalable, and high-...
Get started with Docker by building and deploying a simple web applicationUse Continuous Deployment techniques to push your application to production multiple times a dayLearn various options and ...
Bug fix: When deploying the application as ISAPI, session tracking without cookies would fail Bug fix: When a IW application was compiled with runtime packages, TIWAppInfo.GetAppFullFileName was ...
本书旨在深入解析LDAP(轻量级目录访问协议)及其在电子邮件系统、Web系统和企业应用中的标准作用,以及如何有效利用LDAP进行中央管理,简化目录管理并降低总拥有成本。 ### LDAP:目录服务的核心 LDAP是一种用于...
《理解与部署LDAP目录服务》第二版是一本深入探讨 Lightweight Directory Access Protocol (LDAP) 技术的专业书籍。这本书旨在帮助读者全面理解 LDAP 的概念、架构和实现,以及如何在实际环境中部署和管理 LDAP 目录...
### 部署Java Web Start应用程序到JBoss应用服务器 #### 概述 本文将详细介绍如何在JBoss应用服务器上部署Java Web Start应用程序,并利用Java Web Start技术实现客户端图形用户界面(GUI)的自动更新。Java Web ...
Cisco - Deploying Voice over Wireless LANs.chm Copyright About the Author Acknowledgments Icons Used in This Book Command Syntax Conventions Introduction Part I: Fundamental Elements Chapter ...