The content of this article is not to record idea how to create a basic Javaweb project and then use configure local tomcat
So please don't waste your time by taking a quick step back with a small partner that is not already the target. (because the title does not know how to take, so there may be a small partner mistakenly entered, hereby stated)
This article is mostly documented, after I downloaded a company's existing Web project from SVN, using Tomcat to run an error, that is, some of the workarounds for not running the project properly, there are related to the idea's tomcat configuration, and to the idea's Web configuration!
1.web.xml file does not read properly under Classpath path
You can see that the spring configuration file under Com.zazalu.config cannot be read
The problem: The classes folder in your project doesn't have this file, so it won't be found.
Solution: Press the shortcut key Ctrl+alt+shift+s, pop up the project configuration, as shown, click to view the path of your project's Classes folder
Sometimes, when you use SVN to import a MyEclipse project, classes This folder path may not be used, web-inf under the classes path, and Tomcat is required to compile the file path is placed in Web-inf classes, So this will cause an error when using the classpath config file path in Web. XML, saying it can't be found. In this case, it is necessary to manually go to the project configuration, modify the output path, modify the Classes folder path under the Web-inf of your project! After the modification, can not use the CLASSPATH problem is solved!
Additional Instructions:
This thing is an idea limit your Java version of the language of a feature, if you are using jdk1.7, then debug it here as a version, you can use the normal or will be reported
http://blog.csdn.net/leixingbang1989/article/details/51985601
Errors recorded in this site
2. This page if I encounter problems, will continue to update!
IntelliJ idea using Tomcat as a Web server debug Javaweb Project environment configuration problem-non-basic version