Hi All,

I am also getting the same error.

Regards,
Pulasthi


On Thu, Aug 22, 2013 at 11:32 AM, Isuruwan Herath <[email protected]> wrote:

> Hi,
>
> Getting the following error while building AS samples:
>
> ------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3.084s
> [INFO] Finished at: Thu Aug 22 11:25:02 IST 2013
> [INFO] Final Memory: 8M/311M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
> (default-compile) on project wso2appserver-samples-json: Compilation
> failure: Compilation failure:
> [ERROR]
> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[36,24]
> for-each loops are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable for-each loops)
> [ERROR] for (String arg : args) {
> [ERROR]
> [ERROR]
> /home/isuruwan/Project/platform/4.2.0/products/as/5.2.0/modules/samples/product/JSON/src/org/wso2/appserver/sample/json/client/JSONClient.java:[49,15]
> generics are not supported in -source 1.3
> [ERROR] (use -source 5 or higher to enable generics)
> [ERROR] HashMap<String, String> paramMap = new HashMap<String, String>();
> [ERROR] -> [Help 1]
> ------------------------------------------------
>
> Any idea pls?
>
> Regards!
> Isuruwan
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: [email protected]
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to