• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

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)
0
ManoloMA
Asked:
ManoloMA
  • 3
2 Solutions
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now