On Mon, May 12, 2014 at 9:56 AM, Thilini Shanika <[email protected]> wrote:

> Hi,
> When I tried to build Chunk-07 in Carbon platform
> (platform/turing-chunk09/product-releases/chunk-07), the build was failed
> and got the following error.
>
> Exception in thread "main" java.lang.NoSuchMethodError: method
> java.util.regex.Pattern.quote with signature
> (Ljava.lang.String;)Ljava.lang.String; was not found.
>    at
> org.wso2.carbon.automation.core.utils.fileutils.SuffixFilter.<init>(SuffixFilter.java:29)
>    at
> org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils.getAllCoverageEmFiles(CodeCoverageUtils.java:337)
>    at
> org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils.generateReports(CodeCoverageUtils.java:273)
>    at
> org.wso2.carbon.automation.core.tests.TestCoverageGenerator.main(TestCoverageGenerator.java:35)
>
>
Seems like an older java version is being used to compile. Try with a
version > 1.5.


Thanks
Rajeev


>
> [INFO] ESB UI Test Module ................................ SUCCESS [0.716s]
> [INFO] Integration Test Reporting ........................ FAILURE [3.207s]
> [INFO] WSO2 Carbon - Releases - products - Aggregator Module  SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:36.223s
> [INFO] Finished at: Mon May 12 09:36:20 IST 2014
> [INFO] Final Memory: 181M/1414M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (my-exec) on project
> org.wso2.carbon.esb.integration.reports: Command execution failed. Process
> exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :org.wso2.carbon.esb.integration.reports
>
>
>
> What can be the issue here and how to fix it?
>
> Thanks.
>
>
> --
> Thilini Shanika
> Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3ied to build c
>
> E-mail: [email protected]
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Rajeev Sampath
Senior Software Engineer
WSO2, Inc.; http://www.wso2.com.

Mobile:
* +94716265766*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to