Tomcat loads a number of locations up into the CLASSPATH directly. You
want to put the class in question in:
$TOMCAT_HOME/webapps/myAppl/WEB-INF/classes/com/whiz...
If you have a jar file you need to have loaded for the particular webapp,
put it in:
$TOMCAT_HOME/webapps/myAppl/WEB-INF/lib
and it will automatically get added to the CLASSPATH.
One subtle issue is that each webapp has its own instance of a
classloader, so that you can have a similar class in both webapps, but
they will load the correct version. This can also cause some problems when
trying to any dynamic class loading, but I'm guessing you won't run into
this problem.
> I tried this and it still complains?
>
> I'm using TOMCAT. The app is running in a context under webapps.
> Is there something on the application server side? Or does it
> look for the package in the application dir.
> Ex.
> webapps/myAppl/com/whiz/core
>
> or
> does it have to be in the CLASSPATH or special dir for the sever?
>
> Also the I'm using Forte and the project compiles fine?
>