This is why you should use eclipse or any IDE, it fixes all your simplest mistakes. Hold on, I'll find the solution.
|
i was trying to add report system and this is the error i get?
EDIT: YES I IMPORTED
Code:src\server\model\players\packets\Chat.java:5: cannot find symbol symbol : class ReportHandler location: package server.model.players import server.model.players.ReportHandler; ^ src\server\model\players\packets\Chat.java:36: cannot find symbol symbol : variable ReportHandler location: class server.model.players.packets.Chat ReportHandler.addText(c.playerName, c.getChatText(), pac ketSize - 2); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors Press any key to continue . . .
This is why you should use eclipse or any IDE, it fixes all your simplest mistakes. Hold on, I'll find the solution.
Wrong path probably.
We've to see the whole code.
well i noticed if i take outi only get 1 errorCode:import server.model.players.ReportHandler;
Code:src\server\model\players\packets\Chat.java:35: cannot find symbol symbol : variable ReportHandler location: class server.model.players.packets.Chat ReportHandler.addText(c.playerName, c.getChatText(), pac ketSize - 2); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
erm.. do you have teamviewer? give id+pass
It's because the file doesn't exist...and if you take out the import than of course it will take out an error. But that's not your solution.
We need to know what files you have so we can see which one reporthandler should be.
As I said, you're using the wrong path.
ima derp.. thanks
You've located your ReportHandler in the wrong path import in it this path
server/model/players/ReportHandler.java
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |