This problem often occurs when I deploy an SSH project recently. My solution is:
Log4j: warn no appenders cocould be found for logger (Org. springframework. Web. Context. contextloader ).
Log4j: Warn please initialize the log4j system properly.
2011-4-6 20:07:09 org. Apache. Catalina. Core. applicationcontext log
Information: loading spring root webapplicationcontext
2011-4-6 20:07:16 org. Apache. Catalina. startup. hostconfig deploydirectory
Information: deploying web application directory LX
2011-4-6 20:07:17 org. Apache. Catalina. startup. tagliburirule body
Information: TLD skipped. Uri: http://www.springframework.org/tags/form is already defined
2011-4-6 20:07:17 org. Apache. Catalina. startup. tagliburirule body
Information: TLD skipped. Uri: http://www.springframework.org/tags is already defined
2011-4-6 20:07:17 org. Apache. Catalina. startup. tagliburirule body
Information: TLD skipped. Uri: http://www.springframework.org/tags/form is already defined
2011-4-6 20:07:17 org. Apache. Catalina. startup. tagliburirule body
Information: TLD skipped. Uri: http://www.springframework.org/tags is already defined
2011-4-6 20:07:18 org. Apache. Catalina. Core. applicationcontext log
Information: initializing spring root webapplicationcontext
Log4j: warn no appenders cocould be found for logger (Org. springframework. Web. Context. contextloader ).
Log4j: Warn please initialize the log4j system properly.
Xerces-2.6.2.jar under hibernate core Libraries
Delete the file (the version may not be the same) or delete the file in the lib directory, delete the project deployed on the server, and redeploy the project. It should be okay, the cause of the problem is the built-in import tool.
Produced by hibernate core libraries.
Go to Tomcat/webapps/project/lib. If yes, delete it.
Test: I disable Tomcat of myeclipse and open it directly with Tomcat Reed startup. bat.
In this way, you can see the detailed error information, and sometimes it is better.
: If it is not good, there are several problems: jar package conflicts, version problems, Database Service not started, cache, or configuration file problems.
. For myeclipse, it is a tool. It also serves as a tool for caching and loading. during deployment, problems may occur on its own, so if it cannot be solved, skip myeclipse, the most primitive deployment of Tomcat is my problem.
An extra xerces-2.6.2.jar package
.Go to Tomcat/webapps/project/lib and just remove all the repeated jar packages.