This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
[Running on Windows XP, using tomcat 18.104.22.168]
I have a JSP that includes the use of a data bean, which connects to a derby database. In the bean's constructor is this attempt to load the derby embedded driver:
However, when the page loads, I get the following exception:
I recognize this as a classpath error. The class is in the derby.jar file, and that jar is on my windows class path, as evidenced by my classpath environment variable:
Any ideas why I'm getting this error? Do I have to make some other classpath configuration, such as within Tomcat?