2015-01-21 116 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{} 
相關問題