grails的birt集成错误无法解析依赖项

时间:2015-01-21 12:05:01

标签: grails integration birt

我能看到周围有什么工作实例吗?我下载了这个 http://www.it-jw.com/grails/birt-report-test_0.5.zip来自http://grails.org/plugin/birt-report

但一直给我错误

  

"错误无法解决依赖关系"

。当我浏览http://repo1.maven.org/maven2/org/时,它说:

  

已禁用浏览此目录。查看此目录' s   而是http://search.maven.org上的内容。了解有关The的更多信息   中央存储库。

我尝试在lib / classpath中手动添加所有jar但不起作用。我以前从未做过birt整合。除了上面的链接之外的基本教程将是伟大的。或者至少让我知道如何运行该项目,因为我已经筋疲力尽了。感谢

1 个答案:

答案 0 :(得分:0)

我可以通过修改buildConfig.groovy文件来运行它。

dependencies {
        // specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.

        // runtime 'mysql:mysql-connector-java:5.1.5'

        compile 'org.eclipse.birt.runtime:org.eclipse.core.runtime:3.10.0.v20140318-2214'

        compile('org.eclipse.birt.runtime:org.eclipse.birt.runtime:4.4.1') {
         excludes 'flute', 'eclipse.core.runtime', 'xmlbeans'

        }
        runtime 'com.h2database:h2:1.4.185'
    }

//commented out all the plugins{}
相关问题