Hi Rajjaz, I tried to mvn clean install with jdk 1.7 and got the same error.
But when I try to build it with jdk 1.6 it worked. Just check with $JAVA_HOME to confirm that jdk 1.6 is the active one. Make sure to allocate more memory for maven (MAVEN_OPTS="-Xms1024m -Xmx4096m -XX:MaxPermSize=1024m") to avoid the Maven OutOfMemoryError. Thanks, On Mon, Jun 22, 2015 at 6:13 PM, Rajjaz Mohammed <[email protected]> wrote: > Running org.apache.axis2.jaxws.utility.ClassUtilsTests > Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec > <<< FAILURE! > > On Mon, Jun 22, 2015 at 6:09 PM, Thusitha Thilina Dayaratne > <[email protected]> wrote: >> >> Hi Rajjaz, >> >> Can you check what is the error in the test log? >> I think you should build using JDK 1.6 and Maven 3.0.x >> >> On Mon, Jun 22, 2015 at 5:59 PM, Rajjaz Mohammed <[email protected]> wrote: >>> >>> java version "1.7.0_79" >>> Apache Maven 3.0.5 >>> >>> On Mon, Jun 22, 2015 at 5:57 PM, Thusitha Thilina Dayaratne >>> <[email protected]> wrote: >>>> >>>> Hi Rajjaz, >>>> What is the JDK and maven versions that are using? >>>> >>>> On Mon, Jun 22, 2015 at 5:45 PM, Rajjaz Mohammed <[email protected]> >>>> wrote: >>>>> >>>>> hi All, >>>>> when i try to build carbon from source I’m getting this error. i tried >>>>> from svn trunk and git also but the same error repeating. >>>>> svn dir: https://svn.wso2.org/repos/wso2/trunk/carbon >>>>> git Dir: https://github.com/wso2/carbon-mediation >>>>> >>>>> >>>>> >>>>> Results : >>>>> >>>>> Failed tests: >>>>> test3(org.apache.axis2.jaxws.utility.ClassUtilsTests) >>>>> test4(org.apache.axis2.jaxws.utility.ClassUtilsTests) >>>>> >>>>> >>>>> >>>>> >>>>> [INFO] BUILD FAILURE >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [INFO] Total time: 32.140s >>>>> [INFO] Finished at: Mon Jun 22 17:40:46 IST 2015 >>>>> [INFO] Final Memory: 50M/582M >>>>> [INFO] >>>>> ------------------------------------------------------------------------ >>>>> [ERROR] Failed to execute goal >>>>> org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test (default-test) >>>>> on >>>>> project axis2-jaxws: There are test failures. >>>>> [ERROR] >>>>> [ERROR] Please refer to >>>>> /home/rajjaz/Documents/buildESB/carbon/dependencies/axis2/1.6.1-wso2v5/modules/jaxws/target/surefire-reports >>>>> for the individual test results. >>>>> [ERROR] -> [Help 1] >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Thank you >>>>> Best Regards >>>>> >>>>> Rajjaz HM >>>>> Associate Software Engineer >>>>> Mobile : +94752833834 >>>>> Email :[email protected] >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>> >>>> >>>> >>>> -- >>>> Thusitha Dayaratne >>>> Software Engineer >>>> WSO2 Inc. - lean . enterprise . middleware | wso2.com >>>> >>>> Mobile +94712756809 >>>> Blog alokayasoya.blogspot.com >>>> About http://about.me/thusithathilina >>>> >>> >>> >>> >>> -- >>> Thank you >>> Best Regards >>> >>> Rajjaz HM >>> Associate Software Engineer >>> Mobile : +94752833834 >>> Email :[email protected] >> >> >> >> >> -- >> Thusitha Dayaratne >> Software Engineer >> WSO2 Inc. - lean . enterprise . middleware | wso2.com >> >> Mobile +94712756809 >> Blog alokayasoya.blogspot.com >> About http://about.me/thusithathilina >> > > > > -- > Thank you > Best Regards > > Rajjaz HM > Associate Software Engineer > Mobile : +94752833834 > Email :[email protected] > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Viraj Senevirathne Software Engineer; WSO2, Inc. Mobile : +94 71 818 4742 Email : [email protected] _______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
