1. Apache Tomcat
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.
Web 应用服务器
1. 添加系统环境变量
(1)变量名: CATALINA_BASE 变量值: F:\apache-tomcat-7.0.77
(2)变量名: CATALINA_HOME 变量值: F:\apache-tomcat-7.0.77
(3)变量名: CATALINA_TMPDIR 变量值: F:\apache-tomcat-7.0.77\temp
(4)变量名: Path 变量值:F:\apache-tomcat-7.0.77\bin
2. 检查配置
cmd输入startup.bat
,再访问http://localhost:8080/
3. 中文乱码问题解决
修改在apache-tomcat-7.0.77\conf
路径下的server.xml
文件
1 | <Connector port="8080" protocol="HTTP/1.1" |
2. Apache Maven
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information.
Apache Maven是一个软件项目管理和综合工具。基于项目对象模型(POM)的概念,Maven可以从一个中心资料片管理项目构建,报告和文件。
1. 添加系统环境变量
(1)变量名: M2_HOME 变量值: F:\apache-maven-3.5.0
(2)变量名: MAVEN_HOME 变量值: F:\apache-maven-3.5.0
(3)变量名: Path 变量值:%M2_HOME%\bin
2. 检查配置
cmd输入mvn –version
3. 修改本地仓库存放位置
修改在apache-maven-3.5.0\conf
路径下的settings.xml
文件
1
<localRepository>F:\mavenrepository</localRepository>