【发布时间】:2016-02-18 08:17:42
【问题描述】:
我正在使用 grails 3.1.1 构建我自己的应用程序..
当我使用 grails 2.1.1 时,我使用这个 jar 文件来运行和编译 pentaho 报告。
- pentaho-report-model-5.1.0.0-752.jar
- pentaho-reporting-engine-classic-core-5.1.0.0-752.jar
但现在,我正在尝试使用 grails 3.1.1
我尝试下载并将此代码添加到我的 build.gradle,但我无法下载该文件。
compile 'pentaho:pentaho-database-model:5.1.preview.506'
compile 'pentaho-reporting-engine:pentaho-reporting-engine-classic-core:5.1.preview.506'
我尝试刷新依赖项..我明白了。
C:\Users\User\Documents\311\VPCnotificationServer>grails refresh-dependencies
> Configuring > 0/1 projects > root project > Resolving dependencies ':classpath
1/1 projects > Resolving dependencies ':agent' > Resolving dependencies 'detache
BUILD SUCCESSFUL
Total time: 7.172 secs
> Resolving dependencies ':testRuntime' > Resolving dependencies 'detachedConfig
| Error Could not resolve all dependencies for configuration ':testRuntime'. Typ
e 'gradle dependencies' for more information
C:\Users\User\Documents\311\VPCnotificationServer>
【问题讨论】:
-
好吧,这些依赖关系检查出来。你试过运行
grails refresh-dependencies吗? -
@EmmanuelRosa 看到我的更新帖子,我试过了