Hi,

I'm using a set of JSPs that access some java beans in the /web-inf/classes
directory. I've been developing the application on Win98, but I need to
demonstrate it on NT this coming Friday.

Each bean accesses a couple of other classes - for simplicity, assume that
they are defined in the same java source file. For example:

class AnotherClass
{
}

public class MyBean
{
  AnotherClass ac = new AnotherClass();
}

This compiles fine, but when I come to use the bean I get a
NoClassDefFoundError for AnotherClass. I only get this problem on NT - it
works fine on Win98. This leads me to beleive its a classpath related
problem, but tomcat.bat appears to be generating the classpath correctly
when starting, and includes the classes dir.

BTW, I can't change the classpath in System Properties on NT because I don't
have the necessary permissions, but I shouldn't need to should I?

I would really appreciate any help... I can't be the first person to
experience this problem!
Regards,
Adam




Reply via email to