编译错误wso2 ESB 4.8.1。和内核

时间:2014-10-10 06:34:40

标签: wso2 wso2esb

我们在编译内核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]

致以问候和感谢。

2 个答案:

答案 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]来解决这个问题。

[1] - http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/patch0002/dependencies/wss4j/1.5.11-wso2v6/