Hi Chamil, Carbon 4.x branch in not compatible with jdk 1.7.x to build. I think you need to build it using 1.6.
Thanks, Manoj *Manoj Kumara* Software Engineer WSO2 Inc. http://wso2.com/ *lean.enterprise.middleware* Mobile: +94713448188 On Mon, Feb 24, 2014 at 1:50 PM, Chamil Jeewantha <[email protected]> wrote: > The carbon-utils project builds successfully on jdk1.6.0_45. > > However the similar build fails on jdk1.7.0_51 with following error. > > Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile > (default-compile) on project org.wso2.carbon.ntask.core: Compilation failure > [ERROR] > /home/chamil/products/carbon-utils/components/ntask/org.wso2.carbon.ntask.core/src/main/java/org/wso2/carbon/ntask/core/internal/TasksDSComponent.java:[197,24] > error: type ServiceReference does not take parameters > > ServiceReference is a Generic Type but the compiler complaints it does not > take parameters. > > Is there any prerequisite for java 6? > > repo location : https://github.com/wso2/carbon-utils > > > > -- > K.D. Chamil Jeewantha > Associate Technical Lead > WSO2, Inc.; http://wso2.com > Mobile: +94716813892 > > > _______________________________________________ > 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
