How quickly the right to import Java project to eclipse

Java web project into eclipse configuration

Overview: import export environment is the corresponding project environment, to be consistent with the environment during the preparation of the project, the environment is introduced into the environment simulation project was born, just as carp can not survive on land, we need to provide it outside the living environment. ---- Dong wind slowly

First, preparation

1, tool environment

1> First, determine your computer's performance, ability to meet the minimum requirements of the development, according to the project size is calculated, more than 300M package to run the project size is more i consumption of resources, the computer will need to configure the basic configuration, the memory is basic enough, cup this up and running and then open a browser a bit difficult, often more than 90%.
Here Insert Picture Description
2> needs of the environment: build environment web environment (for Web projects)
to confirm import the project build environment, the basic version will do great jdk 1.6 or jdk1.7 1.6_ * _ * tomcat does not require the same large version on the line, if not a Web project would not have the server.

2, installation and commissioning

1> First, make sure your eclipse can write code, the server can start
2> compiler environment and runtime environment can not match, the compiler environment can be lower than the operating environment
3> If the company has integrated into the plug, must first be familiar with how to integrate within the tool to ensure that plug-in works

Second, import

1, the import mode

1> Import Workspace, which directly create a new project workspace into them, then direct mail import to import it, will slowly introduced into the tool, to see whether the end of the project to import newspaper red cross, if there is wrong opening the problem depends on the specific issues . This project is the basic right buildpath, the original packet or data source is removed, and then import their corresponding package
2> svn import, which is imported from the shared space with colleagues directly to the project, and then also move again In addition to introducing the packet and

2 Notes

1> compilar encounter problems, find the corresponding node, reconfigure the build environment, configure the following question jdk
2> web service issues, projects over the General Assembly cause the server memory overflow mail items need to select Debug as configration, JVM configuration parameters Here Insert Picture Description
3> also a report will access xxx what needs to be adjusted jdk access rules build path of
Here Insert Picture Description

Third, adjust the configuration

1, the compiler environment

Compiler environment issues will be prompted compilerxxx what problems, if it is determined that the version of the report is generally not a problem

2, the operating environment

Ditto a runtime environment

3, web environment

WEB general is the wrong version, some eclipse due to the low version tool can not install the appropriate environment, it is recommended to download the corresponding version by re-installing

4, Frequently Asked Questions

Common is configured with several environmental and environment variables, but if you need to install JDK1.8 version of jdk low value JAVA_HOM time change is not enough

IV Summary

1, lessons learned

After the initial training of recruits spent a lot of time to set up the environment, but also a deeper understanding of the whole process
1> If you have not done their own independent recommendations to the Raiders look, and then have a general grasp hands, otherwise very hard to accept, especially in limited time
2> do not have time to ask it, thick-skinned point save a lot of time, look after yourself a tutorial (I eat this loss, thin time-consuming)

2, review for improvement

Time is precious, the configuration is worthless, do not waste time on this issue, not the value of the company need to ask you for your input, remember to remember
things from the overall consideration, not tied to a single-minded point of not get away, we have a global understanding to know how deep, how to find the problem, otherwise it will get lost in a circular motion problems, the loss of information. Remember Remember

Guess you like

Origin blog.csdn.net/weixin_43671743/article/details/90085341