jQuery in Action, 2nd edition
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
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 8260

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: 24051
    
  13

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java class not found error.help me pls
 
Similar Threads
where to store the applet file using JWS in servlet technology?
"Sending Applet through Servlet"
servlet calling applet
Jsp
can i run applet on server?