我们在编译内核wso2 esb和wso2时遇到问题 Jdk - > jdk1.7.0_60
错误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-kernel 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 :(得分:0)
您无法使用JDK 1.6构建WSO2平台。请查看here
中的WSO2文档如果您想从源代码分发构建产品,那么 必须使用JDK 1.6而不是JDK 1.7。
但它表示您可以在JDK 1.7上运行该产品
运行时(不构建)也支持Oracle和IBM JRE 1.7 WSO2产品。
答案 1 :(得分:0)
由于Asela提到kernal切换到java 1.6并且ESB失败,你可以构建[1]来解决这个问题。