Hvorfor får jeg så alle disse fejl når jeg forsøger at compile en af filerne?
C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:16: cannot resolve symbol symbol : class Chatter location: class chat.ChatClient Chatter chatter; ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:17: cannot resolve symbol symbol : class ChatServer location: class chat.ChatClient ChatServer server; ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:76: cannot resolve symbol symbol : class Chatter location: class chat.ChatClient public void receiveEnter(String name, Chatter chatter) { ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:41: cannot resolve symbol symbol : class ChatterImpl location: class chat.ChatClient chatter = new ChatterImpl(this); ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:62: cannot resolve symbol symbol : class ChatServer location: class chat.ChatClient server = (ChatServer) java.rmi.Naming.lookup("//" +hostname+ "/ChatServer"); ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:178: cannot resolve symbol symbol : class Chatter location: class chat.ChatClient.InputBoxProcessor Chatter otheruser = (Chatter) hash.get(otherusername); ^ C:\Documents and Settings\aslan\Skrivebord\chat\ChatClient.java:178: cannot resolve symbol symbol : class Chatter location: class chat.ChatClient.InputBoxProcessor Chatter otheruser = (Chatter) hash.get(otherusername); ^ 7 errors
ehm den chat program er det ikke meningen jeg skal compile alle filer også putte <html> <applet code="chat.ChatClient" width=300 height=200> <param name="hostname" value=""> </applet> </html> i en html fil og så køre den?
Der er en tiln til du skal gøre og det er at installere ChatServer på den server hvor dine sider bliver hosted. Det må du hellere spørge udbyderen om om du kan (og må).
Ja det er mig igen.... :) Hvordan finder jeg ud af min webservers ports værdi?
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.