1.JDK环境配置
JAVA_HOME = C:\Program Files\Java\jdk1.8.0_131
PATH = %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
CLASSPATH = .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
2.Ant环境配置
ANT_HOME = D:\Program Files\apache-ant-1.10.1
PATH = %ANT_HOME%\bin;
CLASSPATH = %ANT_HOME%\lib;
ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017
3.CXF环境配置
CXF_HOME = D:\Program Files\apache-cxf-3.1.12
PATH = %CXF_HOME%\bin;
CLASSPATH = %CXF_HOME%\lib;
cxf或axis2二者配其一即可
wsdl2java 地址链接
4.Axis2环境配置
AXIS2_HOME = D:\Program Files\axis2-1.7.5
PATH = %AXIS2_HOME%\bin;
CLASSPATH = %AXIS2_HOME%\lib;
wsdl2java 地址链接
cxf或axis2二者配其一即可
5.Tomcat环境配置
CATALINA_HOME = D:\Program Files\apache-tomcat-8.5.16
PATH = %CATALINA_HOME%\bin;
CLASSPATH = %CATALINA_HOME%\lib;
6.Maven环境配置
M2_HOME = D:\Program Files\apache-maven-3.5.0
PATH = %M2_HOME%\bin;
mvn -v
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T03:39:06+08:00)
Maven home: D:\Program Files\apache-maven-3.5.0\bin\..
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_131\jre
Default locale: zh_CN, platform encoding: GBK
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
<!-- setting.xml中配置仓库位置-->
<localRepository>D:/maven/repo</localRepository>
<!-- 阿里云镜像 -->
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>