maven 打包的 时候出错了

图数据库猫 发布于 2015/08/16 20:57
阅读 1K+
收藏 0
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.yanfei:HolleMaven:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 76, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building HolleMaven Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.359s
[INFO] Finished at: Sun Aug 16 20:54:15 CST 2015
[INFO] Final Memory: 9M/23M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project HolleMaven: Could not resolve dependencies for project com.yanfei:HolleMaven:war:0.0.1-SNAPSHOT: Failure to find net.sf.json-lib:json-lib🏺2.2.3 in 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 -> [Help 1]
[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/DependencyResolutionException

加载中
0
翠翠
翠翠
从中央库下载 net.sf.json-lib:json-lib:jar:2.2.3 失败,建议换到 http://maven.oschina.net/ 下载。
0
biaocy
biaocy
删掉本地仓库对应jar包,再update下项目
返回顶部
顶部