If you are using GWT 1.6.* (1.6.4 or earlier), have you ever faced "java.lang.StackOverflowError" during the compilation of your project? Perhaps, you may have got this exception. The fact is that, GWT 1.6 uses extensive optimization while compiling java code to javascript code which needs large memory and large stack size.
You can read here about this issue. There is a patch for fixing this problem.
- First, Download the patch from here.
- Then add it to the project run/debug settings.
- In the ".classpath" file (located in your project folder), it should be placed above the GWT core library.
One thing to note here is that, this is a temporary limitation of the GWT build. Hopefully, it'll be solved in the later versions.
0 comments:
Post a Comment