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.