2015-01-21 99 views
0

有没有我可以看到的任何工作示例?我下载了这个 http://www.it-jw.com/grails/birt-report-test_0.5.zip从这里http://grails.org/plugin/birt-reportbirt为grails集成错误无法解决依赖关系

但一直给我错误

“错误未能解决依赖”

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

浏览该目录已被禁用。改为在http://search.maven.org上查看此目录的 内容。了解更多有关中央存储库的 。

我试着在lib/classpath中手动添加所有jar,但没有奏效。之前我从来没有做过birt整合。除了上面的链接外,基本的教程会很棒。或者至少让我知道我该如何运行这个项目,因为我已经竭尽所能。谢谢

+0

你使用的是eclipse吗?确保你也安装了eclipse的birt插件。 – dsharew 2015-01-21 15:02:53

+0

是的,我正在使用日食。有birt插件安装。 – user742102 2015-01-22 05:39:32

+0

我最近安装了birt插件,但没有面对这样的错误,当你遇到我正面临的错误时,我会帮助你,但是你什么时候得到这个错误?你确定这是因为birt插件吗? – dsharew 2015-01-22 06:00:33

回答

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{} 
相关问题