While compiling the my project using ANT tool, I am getting the following exception.
[javac] Compiling 5145 source files to F:\WAR-Creation\WEB-INF\classes
[javac]
[javac]
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1618)
[javac] at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1422)
[javac] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
-
-
| [javac] | at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2564) |
| [javac] | at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1045) |
| [javac] | at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:768) |
| [javac] | at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:730) |
| [javac] | at com.sun.tools.javac.main.Main.compile(Main.java:353) |
| [javac] | at com.sun.tools.javac.main.Main.compile(Main.java:279) |
| [javac] | at com.sun.tools.javac.main.Main.compile(Main.java:270) |
| [javac] | at com.sun.tools.javac.Main.compile(Main.java:69) |
| [javac] | at com.sun.tools.javac.Main.main(Main.java:54) |
BUILD FAILED
F:\WAR-Creation\build.xml:64: Compile failed; see the compiler error output for details.
Could you please let us know what could be the reason for this issue?
Note: When compiling using Regular JDK 1.6.0_45 and even with Regular JDK 1.7, no issue observed
Thanks in advance for all your help.