Friendly condolences from Myeclipse2014 and maven: myeclipse2014maven

Source: Internet
Author: User

Friendly condolences from Myeclipse2014 and maven: myeclipse2014maven

It's actually very simple, but it's a waste of two days. Now I will sort it out so that we can learn new things in the future.

I have been using idea for a long time. It is a little tricky to switch to Myeclipse. Fortunately, Myeclipse2014 and idea seem to be the same. It is also convenient and concise.

1. Basic Environment Construction

Jdk environment variable configuration ps: Try to use version 1.6 or above, because maven in a higher version does not support 1.6, although maven in a lower version supports jdk 1.6, there may be odd errors during usage.

Configuration of maven environment variables ps: configure it carefully based on Baidu's steps.

2. Configure maven

1) Establish a nexus private server

Private servers can reduce our bandwidth and provide a stable development environment. Visit http://www.cnblogs.com/luotaoyeah/p/4101966.htmlfor more detailed introduction

2) 3rd party, Snapshots, and Releases are used to save third-party jar (j driver package of a typical oracle database), Snapshots in the project team, and Releases in the project team.

Currently, I only use the third-party function 3rd party to upload jar packages without any components in the maven repository to the server.

Now, we have uploaded the oracle jar package due to copyright issues to our private server.

3. Create a maven project in Myeclipse2014

Visit http://my.oschina.net/softwarechina/blog/219633for details

4. Myeclipse2014 simple import maven Project

Access http://zhidao.baidu.com/link? Url = q66g6_dLrMaKHQAxXJ-BKF0spxE6fs6AdU28whEQoJxEh7rNDfn5lbe02ISy8-Z1E_kla5PTW0YJKcK5vOOZZ _ details

 

 

 

5. Problems Encountered

Package downloading is incomplete in the import project because all the packages cannot be downloaded due to the speed of the network. This is why we need to find our local repository to delete all the lastupdate files, then, update the project again and let him download the package again until the package is completely downloaded.

 

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.