• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ClassNotFoundException

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting a ClassNotFoundException caused by JasperException:unable to load class for JSP. I don't understand the basis of the error though.

The JSP uses a tag to retrieve info from a data object. The data object is built from accessing my DB. The problem is that apparently I'm missing a piece of data in my DB and so when I do the call on the object, it can't find the value in the object and so it returns a canned "***objectName***" string to the JSP.

Why would database issues cause this error? Thoughts? Is there a way to get better error logging details from Tomcat in regards to this error and the real problem?

Any help/ideas would be greatly appreciated!

Aaron
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the offending class is not in a package, that might be the cause.
Bill
 
reply
    Bookmark Topic Watch Topic
  • New Topic