This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException

 
Aaron Ehrensberger
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the offending class is not in a package, that might be the cause.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic