> I am very new at this web development and java so
> bare with me. The class that this code is calling is
> part of a canned JasperReports jar package. The code
> that I can view is not editable as I can see. What do
> I do?
Do you mean:
1) One of the Class in the jar package is throwing this exception?
or
2) When you try to use one of the Class in the jar file in your own code, your code throws this exception.
1) is not very plausible. Why are you trying to compile classes in a pre-packaged jar file? And if you are compiling them then I am sure you should be able to edit them as well.
2) is much more plausible. You just need to put try/catch block around your code. It will look like this:
try{
JasperReport aReport = (JasperReport) JRLoader.loadObject("JRtest1.jasper");
}catch(JRException jr){
System.out.println(jr.getMessage());
}