File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes java class not found error.help me pls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java class not found error.help me pls" Watch "java class not found error.help me pls" New topic
Author

java class not found error.help me pls

priya _raghu
Greenhorn

Joined: Feb 01, 2004
Posts: 4
I am doing a chat program using applet and servlet.
so whenever messages passed between applet and servlet
i am storing it in one java class file called message.java.
so i want to call message.java file from applet.when i create
a object for class message its giving compiler error like
" cannot resolve symbol class message".Applet class and
message.java are in the same directory.
can anybody help pls.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8908
    
    8

Sounds like you didn't compile message.java and put the class file where the applet can find it.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Moving this to the Java beginner's forum, where "class not found" questions are more at home.


[Jess in Action][AskingGoodQuestions]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
priya _raghu,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
message.java might be in the same folder as the Applet, but is the compiled message.class in the same folder as the Applet?
 
Don't get me started about those stupid light bulbs.
 
subject: java class not found error.help me pls