Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: JDBC DriverTest


Message #1 by "Benjamin Wailes" <bejowa3@y...> on Fri, 13 Dec 2002 14:20:10
Benjamin, 
I have observed this problem only when the JVM is not able to find the specified class in the CLASSPATH. If this is the case the
either the classpath should contain the path of the folder that has this class file, or if you trying to execute this class from the
folder containing the class then a . (dot) in the classpath should be sufficient. 
 Hope this helps,
Deepak
 Benjamin Wailes <bejowa3@y...> wrote: While working through the example program in Chapter 4 of Professional 
Java Server Programming J2EE 1.3 Edition, 

DriverTest.java, running the class file returned, 
"Exception in thread "main" java.lang.NoClassDefFoundError: DriverTest." 

It looks as if the subname needs to be changed from c:/CloudscapeDB to 
something specific to my standard J2EE 1.3.1 

installation of Cloudscape. This machine has no other installations of 
Cloudscape.

What needs tweeking to run this program?
---



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

  Return to Index