Eclipse创建pom.xmlMaven工程总是出现pom.xml报错怎么办

利用Eclipse中的Maven构建Web项目报错(一)
我的图书馆
利用Eclipse中的Maven构建Web项目报错(一)
推荐阅读:有些朋友觉得自己在电脑上搭建一个服务器很复杂,其实不然,非常简单。刚开始第一次搭建的时候我也觉得很复杂很麻烦,但当我自己动手搭建以后发现,原来这东西也不难,这不过需要细心。那么下面我就就简单的为大家分享一下我搭建服务器的步骤。 第一步,下载 登录? 两个输入框加一个按钮?还能怎么做? 那就先来看看为什么而做? 就数据而言,网站的流量仍是大量的匿名用户带来的。我们无法根据请求的任何方面(ip地址,用户代理等)准确识别来自同一人的连续请求。 不能识别,自然无法对其分类进而转化挖掘,获取
EclipseWeb
1、在进行上述操作时,pom.xml一直4.0.0 com.you.maven maven-you-web war 0.0.1-SNAPSHOT maven-you-web
Webapp http://maven.apache.org junit junit 3.8.1 test br.gov.frameworkdemoiselle.archetypes demoiselle-jsf-jpa 2.4.0 jstl jstl 1.2 org.codehaus.plexus plexus-archiver 2.4.4 maven-you-web 2、错误描述 Failure to transfer org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.codehaus.plexus:plexus-archiver:jar:1.2 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://220.231.231.15/download/21368/3/jar/84/9/6_265/plexus-archiver-1.2.jar3、解决办法
(1)先去掉Maven工程的maven特性,,选中工程 鼠标右键--&Maven--&Disable Maven Nature
(2)为工程增加Maven特性,选中工程 鼠标右键--&Configure--&Convert to Maven Project
作者@龙真今天为大家介绍的是一个让人叹为观止的网站InnoCentive。这个网站之所以让人惊叹,是因为它拥有着太多的牛叉之处:(1)集结了众多的全球级最强大脑;(2)全球最成功的众包网站之一;(3)世界顶级难题的讨论和解决场所;(4)世界顶级人才的猎头
按照WPF的帮助说明,某些控件的路由事件被内部处理了,已经被标记为Handled,自行定义的事件处理代码便不再起作用了,有时候会很郁闷! 不过WPF提供了必要的方法。 1)使用相应的Preview事件。须注意隧道类型的事件是从根元素开始执行的。 2)使用AddHandler
TA的最新馆藏[转]&[转]&
喜欢该文的人也喜欢问题对人有帮助,内容完整,我也想知道答案
问题没有实际价值,缺少关键内容,没有改进余地
Failure to transfer org.codehaus.plexus:plexus-utils:pom:3.0 from
was cached in the local repository, resolution will
not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact
org.codehaus.plexus:plexus-utils:pom:3.0 from/to central ( Read timed out
我自己上网搜过,但那些人的方法真的不管用....
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
首先确认你的机器可以直接访问
删除本地maven仓库中的org/codehaus/plexus/plexus-utils/3.0/目录,在eclipse中选中项目,使用快捷键ALT+F5,在弹框上勾选Force Update of ..... 点击Ok,重新更新依赖
可以在控制台查看日志详情
分享到微博?
你好!看起来你挺喜欢这个内容,但是你还没有注册帐号。 当你创建了帐号,我们能准确地追踪你关注的问题,在有新答案或内容的时候收到网页和邮件通知。还能直接向作者咨询更多细节。如果上面的内容有帮助,记得点赞 (????)? 表示感谢。
明天提醒我
关闭理由:
删除理由:
忽略理由:
推广(招聘、广告、SEO 等)方面的内容
与已有问题重复(请编辑该提问指向已有相同问题)
答非所问,不符合答题要求
宜作评论而非答案
带有人身攻击、辱骂、仇恨等违反条款的内容
无法获得确切结果的问题
非开发直接相关的问题
非技术提问的讨论型问题
其他原因(请补充说明)
我要该,理由是:用eclipse创建Maven项目时POM报错
用eclipse创建Maven项目时报错
Could not calculate build plan: Failure to transfer
org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of
central has elapsed or updates are forced. Original error: Could
not transfer artifact
org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to
central (http://repo1.maven.org/maven2): Access denied to
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom.
Error code 407, Proxy Authentication Required ( The ISA Server
requires authorization to fulfill the request. Access to the Web
Proxy service is denied.& ) log4j-test01 Unknown
Maven Problem
解决方法:
1.找到maven库目录,进入:~\.m2\repository\org\apache\maven\plugins\maven-surefire-plugin\2.7.1
2.若2.7.1目录下只有,"maven-surefire-plugin-2.7.1.pom.lastUpdated"
则需要到http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/,把里面的文件下载下来放到2.7.1
3.删除2.7.1下的maven-surefire-plugin-2.7.1.pom.lastUpdated文件。
4.项目右键--&maven--&Update Dependencies
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。eclipse创建maven web项目后,不存在src/main/java问题 - maven - ITeye群组
eclipse创建maven web项目后,不存在src/main/java问题,请问是怎么回事?创建时选择的maven-archetype-webapp,就是不明白为什么没有src/main/java,而src/main/resources都有的,请高手们帮我解答一下,再次非常感谢!
目录结构是:
appStore Maven Webapp
& src/main/resources
& JRE System Library
& Maven Dependencies
& src
& target
& pom.xml
手动在.classpath中加进来就可以了

我要回帖

更多关于 idea怎么创建pom.xml 的文章

 

随机推荐