Reprint Address: http://www.cnblogs.com/AloneSword/p/3998557.html
-------------------------------------------------------------
Description
The 11th step of this blog: "11, OK, go back to the Maven menu to remove the Dynamic Web module check, click OK, as shown below, the WEBAPP directory structure shows:"--this step here to correct: Do not remove the dynamic Web Module, tick this option and click OK.
Correct:
Reason: Install original Blogger Original method can also, but can no longer webapp directory directly run JSP file, the specific reason is not good to say clearly.
PostScript: The most important value of this blog is to set up the Web Module (the default is WebContent, which is equivalent to reset), which is mainly done in 8--11 step, which is equivalent to the WebContent directory in the Web project is designated as the Src/main/webapp directory. Such as:
In addition, this blog left a question: the version of Web. XML, the version of Web. XML is inconsistent with the general non-MAVEN project version, lower, how to specify the Web. xml version in Src/main/webapp?
Eclipse+maven Create WebApp project (GO)