AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Netbeans, the classes in lib directory are not available

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
vizlab
Guest





PostPosted: Mon Jul 19, 2004 4:33 pm    Post subject: Netbeans, the classes in lib directory are not available Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.