Java Web Environment builds environment dependency
- operating system : Windows 7 64-bit
- Development Tools : IntelliJ idea 13.1.4
- Development tools depend on the environment
- Developer Tools Dependency Plug-in
- Package Management: Maven 3.2.3
- Web Service: Tomcat 8.0.24
Environment construction
For Java-dependent tools, installation and configuration, mainly including JDK installation, IntelliJ idea installation, MAVEN installation configuration, tomcat installation configuration, as shown below
- JDK installation and configuration environment variables
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- JDK environment variable Configuration
Http://jingyan.baidu.com/article/f96699bb8b38e0894e3c1bef.html
- IntelliJ Idea 13.1.4 Installation
https://www.jetbrains.com/idea/download/
- MAVEN Installation and Configuration
Http://archive.apache.org/dist/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.zip
- Configuring Environment variables
Http://jingyan.baidu.com/article/cb5d61050b8ee7005d2fe04e.html
- Configure MAVEN to IntelliJ
1. Open Intellij, click the menu bar Run--editconfiguration pop-up run/debug configurations, Click on the left column + sign button and choose Add Maven, specifically
2. After adding, check the right General's Maven home diretory,User setting file,Local repository whether the maven directory you specified is the configured MAVEN environment variable location, as described in
3. If Maven is prompted with a problem with the MAVEN version when compiling the project, select the MAVEN option under File---Setting , See if the MAVEN directory specified on the right and the project configuration is consistent. Specific as
- Tomcat Installation and Configuration
Http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.24/bin/apache-tomcat-8.0.24.exe
- Configure Tomcat to IntelliJ
1. When you are finished installing Tomcat , open Intellijand click the menu bar Run--editconfiguration pop-up run/debug Configurations, click on the left column + sign button and select Add Tomcat, as
2. Configure the Tomcat directory, select Server-to-Configureon the right, pop up application Servers box, click + number, specify the directory where Tomcat was installed, add Tomcat, as
3. Configure the deployment, select Deployment, and select the + sign button, click Artifact, select the project name;War exploded
4. Once configured, the Tomcat icon appears in the upper-right corner, as
Intellij idea Tool Java Web Environment building