我正在尝试在带有 的 Ubuntu 系统上安装 drools guvnor mvn clean install -DskipTests
,但我收到如下错误输出:
[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 克隆了所有存储库