随笔分类 -  Maven

摘要:极大可能是仓库设置问题 阅读全文
posted @ 2016-06-07 20:08 dieyaxianju 阅读(195) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2015-12-21 23:21 dieyaxianju 阅读(118) 评论(0) 推荐(0)
摘要:在jsp中第一行加一句这个就不会乱码了加之前是这样的:加完之后就不会了: 阅读全文
posted @ 2015-12-21 11:31 dieyaxianju 阅读(345) 评论(0) 推荐(0)
摘要:failure to transfer org.codehaus.plexus:plexus:pom:2.0.5 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will ... 阅读全文
posted @ 2015-12-17 19:19 dieyaxianju 阅读(553) 评论(0) 推荐(0)
摘要:本地jar安装至maven仓库 一般不建议通过这种方式配置依赖,通常做法建议你把本地包安装到maven仓库,命令如下: mvn install:install-file-DgroupId=com.httpmime -DartifactId=httpmime4.0 -Dversion=1.0 -Dpa 阅读全文
posted @ 2015-12-17 17:51 dieyaxianju 阅读(556) 评论(0) 推荐(0)
摘要:http://www.bubuko.com/infodetail-914917.html删除 http://blog.sina.com.cn/s/blog_94f38cf80102v2ct.html 阅读全文
posted @ 2015-12-17 17:36 dieyaxianju 阅读(131) 评论(0) 推荐(0)
摘要:Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.1.1:runtime Cause: error in opening zip f... 阅读全文
posted @ 2015-12-17 13:47 dieyaxianju 阅读(4162) 评论(2) 推荐(1)
摘要:问题:检查本地仓库:检查1.0跟release的文件夹:试试:http://www.ithao123.cn/content-8028507.html然后选择maven catalog下的:(这里要等久一点,一开始显示空白) 阅读全文
posted @ 2015-12-16 14:30 dieyaxianju 阅读(220) 评论(0) 推荐(0)
摘要:maven常用命令 http://www.cnblogs.com/adolfmc/archive/2012/07/31/2616908.htmlmaven创建webapp http://blog.csdn.net/jiushuai/ar... 阅读全文
posted @ 2015-12-16 12:21 dieyaxianju 阅读(92) 评论(0) 推荐(0)
摘要:一:mvn help:system 阅读全文
posted @ 2015-12-16 11:35 dieyaxianju 阅读(112) 评论(0) 推荐(0)
摘要:报错信息如下:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolvedreso... 阅读全文
posted @ 2015-12-15 23:07 dieyaxianju 阅读(175) 评论(0) 推荐(0)
摘要:我的环境:window32位 +jdk1.7.0_75+maven3.3.31.ctrl+N 新建maven project项目2.选择maven-archetype-webapp【这里一开始用all calalogs我是报错的,后面通过配置maven》archetypes的maven ctlalo... 阅读全文
posted @ 2015-12-15 23:01 dieyaxianju 阅读(312) 评论(0) 推荐(0)
摘要:设置了环境变量 M2_HOME跟path ,在cmd中输入mvn一直提示不是内部命令解决办法:通过命令设置path如下:set path=输入值 阅读全文
posted @ 2015-12-15 22:32 dieyaxianju 阅读(520) 评论(0) 推荐(0)
摘要:创建web项目时报错 阅读全文
posted @ 2015-12-15 13:52 dieyaxianju 阅读(204) 评论(0) 推荐(0)
摘要:创建MAVEN项目pom.xml报错Failure to transfer org.apache.maven:maven-archiver:jar:2.4.2 from http://repo.maven.apache.org/maven2 was cached in the local repos... 阅读全文
posted @ 2015-12-09 12:56 dieyaxianju 阅读(473) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/sushengmiyan/article/details/40142771使用maven创建一个helloworld在本地硬盘创建一个文件夹作为maven项目工作目录,cmd切换到这个目录,然后执行如下cmd命令:第一步:mvnarchetype:gener... 阅读全文
posted @ 2015-12-09 10:11 dieyaxianju 阅读(164) 评论(0) 推荐(0)
摘要:http://jingyan.baidu.com/article/295430f136e8e00c7e0050b9.html必须先下载并安装JDK,配置JDK的环境变量JAVA_HOME,否则maven将无法使用eclipse安装maven插件后必须重新定位maven到本地maven目录如下定位:为... 阅读全文
posted @ 2015-12-08 14:56 dieyaxianju 阅读(184) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/quanyongan/archive/2013/04/17/3025971.htmlmaven新建web项目http://blog.csdn.net/clj198606061111/article/details/20221133 阅读全文
posted @ 2015-12-04 14:38 dieyaxianju 阅读(118) 评论(0) 推荐(0)