Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.ClassFormatError: org/apache/jsp/wfDigital_jsp (Code of a method longer tha

 
Manikandan Periyasamy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jsp and postgresql for developing.i got the exception like java.lang.ClassFormatError: org/apache/jsp/wfDigital_jsp (Code of a method longer than 65535 bytes)
any one help me to solve this?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This has nothing to do with applets, so I'm moving this to our JSP forum. I will tell you, though, that this is happening because you're putting too many Java scriptlets in your JSP. JSPs should contain as little Java code as possible -- break whatever you can out into supporting classes, and do most of the work in servlets instead.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic