Problem description
When you start a Web site using sping MVC, you may encounter the following prompt: Server Tomcat v7.0 server at localhost failed to start, as shown in:
General method
Search from Baidu to solve the problem of the method, is to check whether Web. XML is filled out correctly, of course, this must be done, must ensure that the configuration information is correct.
However, you may have looked at it many times and it is true that the problem is still in operation. So there will be other reasons.
Looking for the nature of the problem
From the control output station, see where the problem is occurring. Such as:
This image is just a subset of all the error messages that were intercepted. Among them, the circle of the part is the cause of the above problems. May focus on a second caused by,noclassdeffounderror:lorg/apache/comms/loging/log. In other words, there is no reference to comms. Loging jar package. Therefore, the fundamental reason is that the project does not reference the necessary jar package
Jar packages for use with spring MVC
sping MVC required jar package, required jar package, I have tried, indeed can, hope to be helpful to everyone. Download requires a csdn of points.
Summarize
In the process of doing the project, do not panic, look for the wrong reasons, find the cause of the problem, the solution is easy to find.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Server Tomcat v7.0 server at localhost failed to start