• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

unable to compile jsp = code too large for try statement

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic