In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Environmental preparation
1. Development tools: Eclipse IDE (a higher version is recommended)
2. JDK version: JDK1.7
3. Project Management: Maven3.1.1
two。 Installation steps
1. Install jdk1.7 and configure the environment variables (I believe everyone will do it, I will not repeat the instructions here)
two。 The maven:maven installation process is the process of unzipping (I have unzipped it for you, directory: e:\ myprj\ jeesz-maven\ apache-maven-3.1.1). For your convenience, the relevant installation packages are provided here and will be shared in the packaged directory.
3. Mavan configuration environment variable, right-click my computer à properties à advanced system settings à environment variable à (system variable path), enter your maven installation package path at the front, and declare: because the specified directory was extracted in the previous step, the configuration is as follows:
E:\ myprj\ jeesz-maven\ apache-maven-3.1.1\ bin
I believe everyone has been equipped with environmental variables, if you are not very clear, please consult the relevant information to understand the relevant knowledge of maven.
4. Open cmd and type: mvn-version inside. The following result indicates that your maven installation is successful.
Mvn is a command of maven, mvn-version is to check the version information, my operating system is 64-bit WIN7, the installed maven is 3.1.1, if you can print the above information, it means that Maven3 has been installed on your computer.
5. Create a workspace (select the j2ee view when you enter)
6. Configure Eclipse encoding as UTF-8
Select Windowdowns PrefrencesGeneralizedWorkspace in the Eclipse toolbar
7. Configure the jre environment (you need to install the jdk1.7 version before, so use the installed jdk to configure it here):
Choose jdk prefects installed JREs à Edit à choose your own local installation path à Finished à OK
8. Remove JavaScript verification and other information (because js, css, xml and other files in different formats are widely used in the project, and taking into account the execution time of each compilation, some verification information is temporarily removed here)
Windowless PrefrencesValidationsuspend all validators à ok
9. Modify the maven settings.xml configuration file you just installed as follows: e:\ myprj\ jeesz-maven\ apache-maven-3.1.1\ conf, and add the local library address: E:/myprj/jeesz-maven/apache-maven-3.1.1/repository
Modify the path of the central library (when the network is normal, you can download the missing jar package from the remote central library. I use the central library of Oschina here. If there is a problem with the network, you can use your own company's private server to load the relevant jar package). Considering that the package cannot be downloaded sometimes, I have also shared the jar package needed for the project, all of which are placed in the following directory:
E:/myprj/jeesz-maven/apache-maven-3.1.1/repository
10. Configure the maven installation directory and the local library directory loaded by the Setting file in Eclipse
Source code address acquisition: mingli.com
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.