eclipse新建maven web项目步骤、出现错误解决方法及maven settings简单配置
来源:互联网 发布:java底层原理 编辑:程序博客网 时间:2024/06/05 10:32
配置Maven的settings.xml:
1、本地存储库位置:
<localRepository>E:/apache-maven-3.5.2</localRepository>
2、中央仓库使用阿里的比较快:
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
3、Maven编译的JDK版本
<profiles> <profile> <id>jdk-1.8</id> <activation><activeByDefault>true</activeByDefault> <jdk>1.8</jdk> </activation> <properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion> </properties> </profile> </profiles>
eclipse设置Maven:
window -> preference ->
eclipse新建Maven项目:
New -> other... ->
生成一个web.xml: 右键项目 -> properties ->
(注:如果开始 Dynamic Web Module被选中 且没有下面的 "! further configuration available..." 可以去掉Dynamic Web Module的选中点击 Applly按钮 然后再选中Dynamic Web Module项)
点击 "! further configuration available..."
阅读全文
0 0
- eclipse新建maven web项目步骤、出现错误解决方法及maven settings简单配置
- Eclipse新建Maven web项目
- eclipse新建maven web项目
- Eclipse新建maven web项目
- eclipse 新建maven web项目
- Eclipse 新建maven web项目
- 新建web项目出现的问题(eclipse+maven)
- myeclipse 2014新建maven web 项目步骤
- myeclipse 2014新建maven web 项目步骤
- myeclipse 2014新建maven web 项目步骤
- MyEclipse2014 新建Maven Web 项目步骤
- 导入maven项目步骤及相关错误解决方法
- 新建maven项目后,出现错误
- 配置maven项目pom.xml出现错误解决代码步骤
- eclipse 创建Struts2 maven项目出现错误时 解决方法如下:
- Eclipse中使用Maven新建Web项目
- eclipse新建maven web项目流程
- eclipse新建web maven springMvc项目
- Python
- IDEA下git使用
- IBM通过新的数据传输设备清除云迁移障碍
- Kafka ZooKeeper Len Error
- Dl4j-fit(DataSetIterator iterator)源码阅读(九) 利用梯度更新参数
- eclipse新建maven web项目步骤、出现错误解决方法及maven settings简单配置
- 【廖雪峰 python教程 课后题 切片】利用切片操作,实现一个trim()函数,去除字符串首尾的空格,注意不要调用str的strip()方法:
- MOOC_人工智能原理学习笔记4
- 多流聚合与JSON全文检索的功能应用
- 获取登录成功的token
- React Native实现仿天猫商品分类页面
- 拟合与估计问题中的鲁棒方法
- tomcat远程调试
- <Android> 模态对话框