Categories
Java

Unable to compile class for jsp means just that!

The lovely ‘unable to compile class for jsp’ error has everything to do with compiling and nothing to do with your app server

Share

So last night one of my students’ final projects just refused to work. I rebuilt it, tweaked the Ant script, nothing worked! 3 hours. I am tired. I repeatedly get the unable to compile class for jsp error on one of his JSPs.
Finally, I read a posting online and try to run JBoss using JDK 1.4.2.whatever instead of the 1.5 JDK, and guess what? Worked like a charm! The issue had to do with one of the struts tld files, so maybe that is a conflict I was definitely unaware of…

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Share