tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grossert Alexander EXT <>
Subject AW: tomcat-WEB-INF
Date Wed, 16 Jul 2003 07:37:46 GMT
When you have a java class in /webapp/mywebapplication/newDirectory you also need to define
a package called mywebapplication.newDirectory in the source code of this class. When you
want to use this new class in a java class one directory above
you have to tell java where it is situated: new mywebapplication.newDirectory.myClass name
= new mywebapplication.newDirectory.myClass();
Finally, when you compile the whole package move one directory above mywebapplication and
type javac mywebapplication/myMainClass(or /*.java)

This should work.

-----Ursprungliche Nachricht-----
Von: Elif Akten []
Gesendet: Mittwoch, 16. Juli 2003 09:18
Betreff: tomcat-WEB-INF

I have an webapplication under /webapp/mywebapplication,
I put all classes and lib files under WEB-INF directory classes  and lib 
directory, it works fine, but if I put a new directory under 
mywebapplication folder it gives NoClasssDef error.
what Shoul I do?

Add photos to your e-mail with MSN 8. Get 2 months FREE*.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message