STRUTS - Branch is too large, Internal restriction

Hi!

I'm doing a jsp page, this page has a big amount of STRUTS's TAGs, then when I run the jsp, I obtain the next error:

Branch is too large, Internal restriction

anybody knows how can I solve this problem?

Thanks in advance!

(Struts version 1.0)
LVL 1
ManoloMAAsked:
Who is Participating?
 
kiranhkCommented:
It happens when the page generates enough source code to exceed the JVM limit on the amount of compiled code for a single method.


check out this

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html
0
 
petmagdyCommented:
based on ur Application server or servlet engine modify the startup batch to add a parameter to the Java runtime, search for ur line contains at the beginning:

>java .........

and modify it to be:

>java -Dcom.sun.tools.javac.main.largebranch=true ................

see if this solve
0
 
kiranhkCommented:
did you find any of the suggestions useful?? havent heard from you for a long time
0
 
kiranhkCommented:
can you close this question....its been more than 3 months.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.