Initializing spring root webapplicationcontext

Source: Internet
Author: User
Tags tld

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.