Netbeans, the classes in lib directory are not available
From: vizlab (lianjian_at_caip.rutgers.edu)
Date: 07/19/04
- Next message: Thomas Schreiner: "Re: which JDK is netbeans using?"
- Previous message: Tor Iver Wilhelmsen: "Re: which JDK is netbeans using?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Jul 2004 09:33:59 -0700
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
- Next message: Thomas Schreiner: "Re: which JDK is netbeans using?"
- Previous message: Tor Iver Wilhelmsen: "Re: which JDK is netbeans using?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|