1. Using MAVEN to create a simple Web project, I'm using the Myeclipse10+maven plugin, which has the following directory after the project is built:
But the Src/main/java directory is not displayed, at this time select the project right-properties,myeclipse-project Facts, click on the right config ... See the Java item in the pop-up interface, I'll show you here
Java version is 1.5 (I installed 1.7), re-select Java version 1.7, and tick the Dynamic Web Module 3.0 option, Apply-ok;
The directory is displayed correctly, but the index.jsp prompt is incorrect
At this point, right-click Project Build Path-configur BuildPath; In the Libraties tab, select the Add Library, pop-up tab, select MyEclipse Server Library, tap Next
Choosing Apatche 7....Library, the server environment I configured for my myeclipse was installed on my own TOMCAT7
INDEX.JSP encoding format modified to Utf-8 after the project is OK
<%@ page language= "java" import= "java.util.*" pageencoding= "Utf-8"%>
At present, I solve this problem, if you encounter a higher solution can tell me, thank you; The project has been built. You can do SPRING-IOC preliminary study, of course, you can not build a Web project, you can also use a number of common Java projects
2. We use the MAVEN build project, for the management of the jar package directly edit Pom.xml can
SPRING3-IOC Foundation