2014-10-10 80 views
-2

我們正在編譯內核WSO2 ESB和WSO2 jdk的問題 - > jdk1.7.0_60編譯錯誤wso2 ESB 4.8.1。和內核

錯誤WSO2 ESB 4.8.1

[ERROR] Failed to execute goal on project org.wso2.esb.integration.core: Could not resolve dependencies for project org.wso2.esb:org.wso2.esb.integration.core:jar:4.8.0: Could not find artifact org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project org.wso2.esb.integration.core: Could not resolve dependencies for project org.wso2.esb:org.wso2.esb.integration.core:jar:4.8.0: Could not find artifact org.apache.ws.security:wss4j:jar:1.5.11-wso2v6 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) 

錯誤wso2carbon內核4.2.0

[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project wss4j: Compilation failure: Compilation failure: 
[ERROR] /sources/wso2/wso2carbon-kernel/dependencies/wss4j/1.5.11-wso2v6/src/org/apache/ws/security/kerberos/KrbTicketDecoder.java:[10,24] EncryptionKey is internal proprietary API and may be removed in a future release 
[ERROR] 

問候和感謝。

回答

0

您不能使用JDK 1.6構建WSO2平臺。請從here

檢查WSO2文檔如果你想從源代碼分發打造的產品,你 必須使用JDK 1.6,而不是JDK 1.7。

但它說,你可以在JDK 1.7上運行的產品

運行(未建) WSO2產品時,Oracle和IBM JRE 1.7也支持。