JAVAEE环境配置-jdk11.0.12+Eclipse202306+Maven3.8.2+Tomcat8.5.70
一、JDK安装(版本11.0.12)
1、地址:https://lupf.cn/articles/2022/03/09/1646814446354.html
2、执行安装(选择默认位置)
3、cmd窗口检验
C:\Users\xxx>Java -version
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
二、Eclipse Packages下载
1、地址:中国科学技术大学镜像http://mirrors.ustc.edu.cn/eclipse/technology/epp/downloads/release/2023-06/R/
选择【eclipse-jee-2023-06-R-win32-x86_64.zip】下载
2、解压到本地文件夹
三、Tomcat下载
1、地址:http://archive.apache.org/dist/tomcat/
选择【apache-tomcat-8.5.70-windows-x64】下载
http://archive.apache.org/dist/tomcat/tomcat-8/v8.5.70/bin/
2、解压到本地文件夹
四、Maven下载
1、地址https://archive.apache.org/dist/maven/maven-3/3.8.2/binaries/
2、解压到本地文件夹
五、修改镜像
apache-maven-3.8.2\conf\settings.xml文件,
中<mirror></mirror>改为:
<mirror> <id> aliyunmaven</id> <mirrorOf>*</mirrorOf> <name>阿里云公共仓库</name> < url>https://maven.aliyun.com/repository/public</url> </mirror>