博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
手动构建srping roo失败
阅读量:6875 次
发布时间:2019-06-26

本文共 2453 字,大约阅读时间需要 8 分钟。

hot3.png

1 错误信息

[ERROR] The build could not read 1 project -> [Help 1]

[ERROR]
[ERROR]   The project org.springframework.roo:org.springframework.roo.root:1.2.4
.BUILD-SNAPSHOT (D:\GitHub\spring-roo\pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.springframework.build.aws:
org.springframework.build.aws.maven:3.1.0.RELEASE or one of its dependencies cou
ld not be resolved: Could not find artifact org.springframework.build.aws:org.sp
ringframework.build.aws.maven:jar:3.1.0.RELEASE in nexus (http://localhost:8081/
nexus/content/groups/public/) -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException

2 删除maven本地仓库中下面目录

D:\Java\maven\repository\repository\org\springframework\build\aws\org.springframework.build.aws.maven\3.1.0.RELEASE

中的org.springframework.build.aws.maven-3.1.0.RELEASE.jar.lastUpdated和org.springframework.build.aws.maven-3.1.0.RELEASE.pom.lastUpdated文件

然后到这个网站

http://repo.springsource.org/release/org/springframework/build/aws/org.springframework.build.aws.maven/3.1.0.RELEASE/

下载org.springframework.build.aws.maven-3.1.0.RELEASE.jar和org.springframework.build.aws.maven-3.1.0.RELEASE.pom两个文件

再次运行mvn  clean  install

又报错

[INFO] Total time: 2:36.234s

[INFO] Finished at: Wed Mar 27 18:30:52 CST 2013
[INFO] Final Memory: 17M/40M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.3:sig
n (sign-artifacts) on project org.springframework.roo.root: Exit code: 2 -> [Hel
p 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception

安装GPG

然后执行gpg --gen-key 

D:\GitHub\spring-roo>gpg --gen-key

注意目录!!!!

根据提示完成安装key

然后再次运行构建命令

然后就是漫长的签名等待....为什么漫长啊?

转载于:https://my.oschina.net/zarger/blog/118107

你可能感兴趣的文章
内核是什么
查看>>
标签的语义
查看>>
Freemarker入门例子
查看>>
利用busybox工具制作微型linux系统二
查看>>
商业无小事,现实生活不在童话故事里
查看>>
Unsupported major.minor version 51.0解决办法
查看>>
我的友情链接
查看>>
新手如何入门
查看>>
15.2-全栈Java笔记:ActionEvent事件类型可以实现哪些功能?
查看>>
apache-tomcat-6.0.X如何配置管理界面Administration Tool
查看>>
Ibatis实例程序
查看>>
Linux下Nagios的安装与配置
查看>>
esxi5手动打补丁升级
查看>>
spring core 笔记(一)
查看>>
一例mysql主从数据库,从库宕机后无法启动的解决方案
查看>>
WebView 设置软键盘弹出将屏幕上移
查看>>
JVM学习总结五(番外)——JConsole
查看>>
CentOS 源码编译安装Pure-FTPd
查看>>
bbed与od的配合使用恢复被删除的数据文件
查看>>
oracle11g-端口链接,多重日志文件,备份归档
查看>>