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

Reply via email to