• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unable to compile jsp = code too large for try statement

 
Chris Skinner
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Has anybody every seen this error from the jsp compiler for large jsps?


code too large for try statement
org.apache.jasper.JasperException: Unable to compile class for JSP

I thought is was the 32k limit problem but we're at 5.1.1.6 so that should have been fixed.

Thanks
Chris
 
Chris Skinner
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured it out. We actually broke the 64k size limit on java methods. Solution was to break up the page into separate files and include them in the main page.
Chris
 
Scott Selikoff
author
Saloon Keeper
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow... those must be big jsps...
 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I met the same issue, make the jsp file into several small files may not be feasible for me becuase of release limiation.

And the same jsp file is compiled in other releases, I guess there are some configuration for jsp compilation which can be set . is there any suggestions for the issue?

Thanks,

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic