SPRING3-IOC Foundation

Source: Internet
Author: User

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

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.