eclipse创建maven web项目
来源:互联网 发布:学java看什么书 编辑:程序博客网 时间:2024/04/30 14:16
Eclipse+Maven创建webapp项目
安装maven:
1、maven下载地址:http://maven.apache.org/download.cgi 也可直接百度
2、下载之后,配置maven的环境变量
添加新的系统环境变量MAVEN_HOME, 并设置其值为你安装的目录
MAVEN_HOME= D:\Programe File\apache-maven-3.3.9
更新系统PATH 变量, 添加;%MAVEN_HOME%\bin;到尾部;
3、测试maven配置是否成功打开命令行窗口,输入mvn -v,如果有maven 版本信息输出则证明配置成功,
否则请查看自己配置路径等是否正确。注意:安装maven前请确保已安装JDK并成功配置其环境变量。
4、修改maven conf下的settings.xml,设置 localRepository为本地仓库地址,可自定义,也可使用默认的
<localRepository>E:/mvn-local</localRepository>
Eclipse整合maven
1、打开Eclipse,依次打开Windows-->Prefrences,展开Maven的配置界面,在Installations 选项中 ,add 添加刚下载的maven
接着配置User Settings
完成之后,即可创建maven项目
0 0
- eclipse 创建maven web项目
- Eclipse+Maven创建Web项目
- Eclipse 创建Maven web项目
- Eclipse+Maven创建web项目
- Eclipse Maven创建Web项目
- eclipse创建Maven web项目
- eclipse 创建 maven web 项目
- eclipse 创建 maven web 项目
- eclipse创建maven web项目
- eclipse 创建maven web项目
- eclipse创建maven web项目
- Eclipse + Maven 创建 web项目
- eclipse创建maven-web项目
- eclipse 创建maven web项目
- Eclipse创建Web Maven项目
- Eclipse创建Maven Web项目
- eclipse 创建 maven web项目
- Eclipse创建Maven Web项目
- 淡疼的itoa和abs: 'itoa' was not declared in this scope; 'abs' was not declared in this scope
- 推荐系统实践读书笔记一
- 【技巧】windows常用技巧
- html中radio值的获取、赋值、注册事件示例详解
- NetRouter 7620 7688 7628 百度语音识别测试
- eclipse创建maven web项目
- 一个小白从零基础自学Android编程笔记之前言
- [26] Remove Duplicates from Sorted Array
- Webx系列之文件下载
- Android编码规范
- 84. Largest Rectangle in Histogram
- JS中的JSON
- Interactive between local repository and remote repository in git
- ubuntu15.10有线联网方法