001 letter-Creating MyEclipse and MAVEN projects

Source: Internet
Author: User

Preparatory work:

Own private warehouses:

Respository: There is a full jar in it;

Settings.xml the inside of a sentence, to ensure that the use of their own creation of the warehouse:

-----------------------------------------------------------------------------------

1. Create the project:

2. Modify some of the details of the project:

1. Change to UTF-8:

2. Modify into jdk1.7:

Javacompile-> also change to jdk1.7:

So the project is created.

But found the project error: found Web-inf below the index.jsp error. The reason is that the package is missing and the jar package (JAVAX) inside our warehouse is not imported.

You can modify the Pom.xml document.

Just add the following code:

    <Dependency><groupId>Javax.servlet</groupId> <Artifactid>Servlet-api</Artifactid><version>2.5</version> <Scope>Provided</Scope> </Dependency>  </Dependencies>

That's going to happen.

Below this private warehouse to find the jar package.

001 letter-Creating MyEclipse and MAVEN projects

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.