Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable compile my project using JRocket 1.6.0_45

2709410Jul 9 2014

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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2014
Added on Jul 9 2014
0 comments
1,244 views