初始化H2数据库时报错

白条船长 发布于 2013/06/23 16:17
阅读 401
收藏 0

执行mvn antrun:run -Prefresh-db命令时,报如下错误,请问有同学遇到过这样的错误吗?如何解决的,谢谢!

Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.
maven.plugins:maven-antrun-plugin:1.7 or one of its dependencies could not be re
solved: Failure to find org.apache.ant🐜jar:1.8.2 in http://repo.maven.apache
.org/maven2 was cached in the local repository, resolution will not be reattempt
ed until the update interval of central has elapsed or updates are forced

我的机器中已安装ant-1.8.2,并且在环境变量中配置了ANT_HOME和PATH

加载中
0
純白陰影
純白陰影
maven不会去系统环境中找ant,是去maven仓库中找
0
ajavaloser
ajavaloser
本地库中没有ant 1.8.2,为什么去远程也没找到,奇怪
返回顶部
顶部