 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
vizlab Guest
|
Posted: Mon Jul 19, 2004 4:33 pm Post subject: Netbeans, the classes in lib directory are not available |
|
|
Hi, all:
I felt very frustrated when I tried to execute a simple servlet in
a web module in netbeans3.6.
This servlet, NewServlet.class, uses a class defined in a java
class, myjava.class.
If I put myjava.class in the classes directory where
NewServlet.class is located, everything works fine.
But if I make a jar file for myjava.class, say myjava.jar, and put
myjava.jar into the lib directory, NewServlet.class cannot find
myjava.class any more. Plus, the icon of myjava.class has a red
crossing sign, meaning this class is not valid.
Why did this happen? How can I let myjava.class in myjava.jar be
valid and visible to my servlet?
Thanks a lot.
Best
Leon
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|