2012-12-06 49 views
0

我試圖安裝的Drools的Guvnor一個Ubuntu系統mvn clean install -DskipTests上,和我收到一個錯誤輸出是這樣的:Maven安裝的Guvnor都找不到的ResourceType變量

[INFO] 39 errors 
[INFO] ------------------------------------------------------------- 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Guvnor multiproject ............................... SUCCESS [1.539s] 
[INFO] kie-uberfire-bootstrap ............................ SUCCESS [5.865s] 
[INFO] kie-project-editor ................................ SUCCESS [6.465s] 
[INFO] Guvnor API ........................................ SUCCESS [1.993s] 
[INFO] Guvnor repository connector multiproject .......... SUCCESS [0.056s] 
[INFO] Guvnor repository connector JCR ................... SUCCESS [1.463s] 
[INFO] Guvnor repository connector Jackrabbit ............ SUCCESS [1.920s] 
[INFO] Guvnor repository connector ModeShape ............. SUCCESS [1.827s] 
[INFO] Guvnor repository ................................. SUCCESS [8.587s] 
[INFO] Drools and jBPM IDE common ........................ FAILURE [11.337s] 
[INFO] Guvnor web application core ....................... SKIPPED 
[INFO] Guvnor web application Drools ..................... SKIPPED 
[INFO] Guvnor bulk importer .............................. SKIPPED 
[INFO] Guvnor JCR to UberFire VFS migration .............. SKIPPED 
[INFO] Guvnor examples ................................... SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 43.425s 
[INFO] Finished at: Thu Dec 06 22:13:58 EET 2012 
[INFO] Final Memory: 32M/78M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project droolsjbpm-ide-common: Compilation failure: Compilation failure: 
[ERROR] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
[ERROR] SLF4J: Defaulting to no-operation (NOP) logger implementation 
[ERROR] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
[ERROR] /home/neyo/drools/guvnor/droolsjbpm-ide-common/src/test/java/org/drools/ide/common/server/factconstraints/predefined/RangeConstraintMultipleOperatorsTest.java:[37,22] error: cannot find symbol 
[ERROR] symbol: class ResourceType 
[ERROR] location: package org.kie.builder 
[ERROR] /home/neyo/drools/guvnor/droolsjbpm-ide-common/src/test/java/org/drools/ide/common/server/factconstraints/predefined/RangeConstraintSingleOperatorTest.java:[38,22] error: cannot find symbol 
[...] 
[ERROR] symbol: variable ResourceType 
[ERROR] location: class MandatoryFieldConstraintTest 
[ERROR] /home/neyo/drools/guvnor/droolsjbpm-ide-common/src/test/java/org/drools/ide/common/server/factconstraints/predefined/NotMatchesConstraintTest.java:[148,124] error: cannot find symbol 
[...] 

任何思考爲什麼找不到ResourceType

我使用maven 3.0.4和Java 1.7,我已經克隆均來自github.com/droolsjbpm

回答

1

我有同樣的問題庫,和我看到一個可能有關commit從他們的GitHub庫中的文件:

​​3210

因此,他們可能改變了一下週圍的包。嘗試改變文件內部的內容,看看它是否修復它,我會盡可能在今晚進行驗證。

+0

似乎他們已經更新了git上的guvnor repo以及這些更改,謝謝。 – Neyoex