【发布时间】:2016-10-30 07:31:03
【问题描述】:
我正在尝试为 grails 下载 jasper 插件,但如果我将依赖项放在 build.gradle 中,我会不断收到此错误:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Eventos Unipar'.
> Could not resolve all dependencies for configuration ':runtime'.
> Could not find org.olap4j:olap4j:0.9.7.309-JS-3.
Searched in the following locations:
file:/C:/Users/xSlok/.m2/repository/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
file:/C:/Users/xSlok/.m2/repository/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.jar
http://repo.grails.org/grails/repo/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.pom
http://repo.grails.org/grails/repo/org/olap4j/olap4j/0.9.7.309-JS-3/olap4j-0.9.7.309-JS-3.jar
Required by:
eventosunipar:Eventos Unipar:0.1 > org.grails.plugins:jasper:1.11.0 > net.sf.jasperreports:jasperreports:5.6.1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output
我使用的依赖是
compile "org.grails.plugins:jasper:1.11.0"
我正在使用的 maven 存储库的 url 是
http://repo.grails.org/grails/repo
这个也试过了
http://repo.grails.org/grails/core
有人知道发生了什么吗?
【问题讨论】: