As a reference you can use [1] to check the compatibility. [1] https://docs.wso2.com/display/Carbon420/Installation+Prerequisites
Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Wed, Nov 26, 2014 at 4:36 PM, Asok Perera <[email protected]> wrote: > Hi, > > Yes Gayashan, That might be the problem. > I will try using 1.6 > > Thanks > > > *Asok Aravinda Perera* > Software Engineer > WSO2, Inc.;http://wso2.com/ > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> > lean.enterprise.middleware > > Mobile: +94722241032 > > On Wed, Nov 26, 2014 at 4:25 PM, Gayashan Amarasinghe <[email protected]> > wrote: > >> Hi Asok, >> >> Are you using JDK 1.7 to build? Please use JDK 1.6 to build the kernel. >> >> Thanks. >> /Gayashan >> >> On Wed, Nov 26, 2014 at 4:21 PM, Asok Perera <[email protected]> wrote: >> >>> Hi Inosh, >>> >>> Skipped the tests, now it gives me compilation errors >>> >>> [ERROR] COMPILATION ERROR : >>> >>> [INFO] ------------------------------------------------------------- >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/ProfileChangeOperation.java:[143,72] >>> error: incompatible types >>> >>> [ERROR] Object >>> >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/ProfileChangeOperation.java:[159,72] >>> error: incompatible types >>> >>> [ERROR] Object >>> >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[92,50] >>> error: incompatible types >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[117,50] >>> error: incompatible types >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[122,50] >>> error: incompatible types >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[190,14] >>> error: type IQuery does not take parameters >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[207,14] >>> error: type IQuery does not take parameters >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[226,14] >>> error: type IQuery does not take parameters >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/util/ProvisioningUtils.java:[238,14] >>> error: type IQuery does not take parameters >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/RevertOperation.java:[54,104] >>> error: incompatible types >>> >>> [ERROR] >>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/feature-manager/org.wso2.carbon.feature.mgt.core/src/main/java/org/wso2/carbon/feature/mgt/core/operations/RevertOperation.java:[59,105] >>> error: incompatible types >>> >>> [INFO] 11 errors >>> >>> Regards >>> >>> >>> >>> *Asok Aravinda Perera* >>> Software Engineer >>> WSO2, Inc.;http://wso2.com/ >>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> >>> lean.enterprise.middleware >>> >>> Mobile: +94722241032 >>> >>> On Wed, Nov 26, 2014 at 4:06 PM, Inosh Perera <[email protected]> wrote: >>> >>>> Hi Asok, >>>> Try, skipping the tests with -Dmaven.test.skip=true. >>>> It says, There are test failures. >>>> >>>> Regards, >>>> Inosh >>>> >>>> On Wed, Nov 26, 2014 at 3:49 PM, Asok Perera <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> I couldn't build carbon kernel cloned from git[1]. >>>>> >>>>> I encounter the following error. >>>>> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (test-set1) on >>>>> project org.wso2.carbon.registry.core: There are test failures. >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] Please refer to >>>>> /Users/asok/Documents/CDM/carbon_4.3.0/carbon4-kernel/core/org.wso2.carbon.registry.core/target/surefire-reports-1 >>>>> for the individual test results. >>>>> >>>>> [ERROR] -> [Help 1] >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>>> the -e switch. >>>>> >>>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] For more information about the errors and possible solutions, >>>>> please read the following articles: >>>>> >>>>> [ERROR] [Help 1] >>>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>>> >>>>> [ERROR] >>>>> >>>>> [ERROR] After correcting the problems, you can resume the build with >>>>> the command >>>>> >>>>> [ERROR] mvn <goals> -rf :org.wso2.carbon.registry.core >>>>> >>>>> [1] https://github.com/wso2/carbon4-kernel/ >>>>> >>>>> Any idea how to solve this ? >>>>> >>>>> Regards >>>>> >>>>> *Asok Aravinda Perera* >>>>> Software Engineer >>>>> WSO2, Inc.;http://wso2.com/ >>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> >>>>> lean.enterprise.middleware >>>>> >>>>> Mobile: +94722241032 >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Inosh Perera >>>> Software Engineer, WSO2 Inc. >>>> Tel: 0785293686 >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Gayashan Amarasinghe* >> Software Engineer | Platform TG >> WSO2, Inc. | http://wso2.com >> lean. enterprise. middleware >> >> Mobile : +94718314517 >> Blog : gayashan-a.blogspot.com >> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
