ClassNotFoundException - CLASSPATH problem?
I'm just getting started with JSP and I'm having a problem with the CarBean exercise in Chapter 3.
I'm running Tomcat 4.1 (couldn't get 5.x to behave on my machine) on Windows 2000.
The error I keep getting is:
java.lang.ClassNotFoundException: com.wrox.cars.CarBean
I have created CarBean.java and carPage.jsp exactly as in the book so I'm guessing it's a CLASSPATH problem.
My CLASSPATH is set to:
C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;.
If this is relevant my File Structure is like this:
C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\Reuse\WEB-INF\classes\com\wrox\cars
CarBean.java and CarBean.class are in the "cars" directory
carPage.jsp is in the Reuse directory
Any Ideas???
|