[Mifos-developer] Solved the build issue..

3 views
Skip to first unread message

manoj Sharma

unread,
Jan 14, 2011, 1:05:24 AM1/14/11
to Mifos software development, mifos-issues
Hi All,
If you get this type of error .....

Solution Fix Problem:
MAVEN_OPTS=-Xmx512m"
 Set this in your system variable setting

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
        at java.lang.String.substring(String.java:1940)
        at java.lang.String.substring(String.java:1905)
        at com.sun.tools.javac.util.DefaultFileManager$SymbolArchive.addZipEntry
(DefaultFileManager.java:479)
        at com.sun.tools.javac.util.DefaultFileManager$ZipArchive.<init>(Default
FileManager.java:417)
        at com.sun.tools.javac.util.DefaultFileManager$SymbolArchive.<init>(Defa
ultFileManager.java:466)
        at com.sun.tools.javac.util.DefaultFileManager.openArchive(DefaultFileMa
nager.java:550)
        at com.sun.tools.javac.util.DefaultFileManager.listDirectory(DefaultFile
Manager.java:284)
        at com.sun.tools.javac.util.DefaultFileManager.list(DefaultFileManager.j
ava:774)
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2077)
        at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1781)
        at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
        at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:272)
        at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:
446)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:236)
        at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:250)
        at com.sun.tools.javac.comp.Enter.complete(Enter.java:444)
        at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
        at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:81
9)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
        at com.sun.tools.javac.main.Main.compile(Main.java:353)
        at com.sun.tools.javac.main.Main.compile(Main.java:279)
        at com.sun.tools.javac.main.Main.compile(Main.java:270)
        at com.sun.tools.javac.Main.compile(Main.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:420)
        at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
r.java:141)
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:493)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)

--
Thanks & Regards,
Manoj Kumar Sharma
Senior Java Programmer
Magnus Consulting Group Pvt. Ltd.
Kathmandu Nepal
Mailto:  ma...@magnus.com.np
Website:www.magnus.com.np
+977-9808603590(Mobile)
+977-1-4494440,4464339 Ext:21 (Office)



Reply all
Reply to author
Forward
0 new messages