Hi, Have you set the MAVEN_OPTS="-Xmx128m -XX:MaxPermSize=128m"? If not set it and try to build it.
Thanks & Regards, On Thu, Apr 21, 2016 at 7:18 PM, Megala Uthayakumar <meg...@wso2.com> wrote: > > Hi All, > > I am trying to build the product-as from the source. When tried to build > v5.3.0, I got the following error and build failed. > > *[INFO] WSO2 AppServer Distribution having apache ldap server feature > installed FAILURE [ 3.839 s]* > > *Exception in thread "main" * > *Exception: java.lang.OutOfMemoryError thrown from the > UncaughtExceptionHandler in thread "main"* > > After that I tried to build from the master branch, but got following > error, > *[INFO] WSO2 Application Server - Module - Utils ........... FAILURE [ > 1.542 s]* > > *[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile > (default-compile) on project appserver-utils: Fatal error compiling: > invalid target release: 1.8 -> [Help 1]* > > I am using oracle JDK 1.7.0_80 and my maven version is 3.3.9 > > Could someone point out what is the cause for these errors? > > Thank you. > > Regards, > Megala > > -- > Megala Uthayakumar > > Software Engineer > Mobile : 0779967122 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Mushthaq Rumy *Software Engineer* Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194> Email : musht...@wso2.com WSO2, Inc.; http://wso2.com/ lean . enterprise . middleware.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev