[转帖]jboss seam 2.3.1如何部署examples:解决Non-resolvable import POM问题_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 2747 | 回复: 0   主题: [转帖]jboss seam 2.3.1如何部署examples:解决Non-resolvable import POM问题        下一篇 
    本主题由 Administrator 于 2014-10-24 22:35:41 移动
kim
注册用户
等级:中校
经验:1729
发帖:222
精华:0
注册:2011-7-21
状态:离线
发送短消息息给kim 加好友    发送短消息息给kim 发消息
发表于: IP:您无权察看 2014-10-24 10:10:32 | [全部帖] [楼主帖] 楼主

如果直接部署seam 2.3.1的examples,比如在examples/registration目录下执行mvn clean install会报告如下的错误信息:

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jboss.seam.examples:registration:2.3.1.Final (/home/subaochen/devel/jboss-seam-2.3.1.Final/examples/registration/pom.xml) has 1 error
[ERROR] Non-resolvable import POM: Failure to find org.jboss.seam:bom:pom:2.3.1.Final in 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 @ org.jboss.seam:examples:2.3.1.Final, /home/subaochen/devel/jboss-seam-2.3.1.Final/examples/pom.xml, line 228, column 25 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
<repositories>
<repository>
<id>JBoss repository</id>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
</repository>
</repositories>


 否则在maven repository中找不到seam 2.3.1。奇怪的是,jboss为什么自己搞一个repository,而不是加入maven central repository呢?

--转自 北京联动北方科技有限公司


该贴由system转至本版2014-10-24 22:35:40



赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论