Вот пытаюсь компилировать java файлы в class. Большую часть ошибок исправил, но остались вот эти. Подскажите как их исправить. Это bukkit плагин.
В NetBeans.
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Game.java:157: error: cannot find symbol
/* 159 */ p.setGameMode(GameMode.SURVIVAL);
symbol: variable SURVIVAL
location: class GameMode
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Game.java:562: error: incompatible types
/* 566 */ for (Player pl : players) {
required: Player
found: Object
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Events\ChestReplaceEvent.java:56: error: variable inv is already defined in method ChestListener(PlayerInteractEvent)
/* */ Inventory inv;
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Events\ChestReplaceEvent.java:66: error: variable inv is already defined in method ChestListener(PlayerInteractEvent)
/* */ Inventory inv;
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\SurvivalGames.java:107: error: cannot find symbol
/* 105 */ SurvivalGames.access$002(true);
symbol: method access$002(boolean)
location: class SurvivalGames
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\SurvivalGames.java:108: error: cannot find symbol
/* 106 */ SurvivalGames.access$102(SurvivalGames.this.p.getDataFolder());
symbol: method access$102(File)
location: class SurvivalGames
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\LobbyManager.java:78: error: variable l is already defined in method loadSigns()
/* 70 */ Location l = new Location(Bukkit.getWorld(c.getString("sg-system.lobby.sign.world")), x1, y1, z1);
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\LobbyManager.java:213: error: constructor LobbySignUpdater in class LobbyManager.LobbySignUpdater cannot be applied to given types;
/* 206 */ Bukkit.getScheduler().scheduleSyncRepeatingTask(LobbyManager.this.p, new LobbyManager.LobbySignUpdater(LobbyManager.this), 1L, 20L);
required: no arguments
found: LobbyManager
reason: actual and formal argument lists differ in length
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Metrics.java:41: error: constructor Graph in class Graph cannot be applied to given types;
/* 41 */ private final Graph defaultGraph = new Graph("Default", null);
required: String
found: String,<null>
reason: actual and formal argument lists differ in length
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Metrics.java:75: error: constructor Graph in class Graph cannot be applied to given types;
/* 75 */ Graph graph = new Graph(name, null);
required: String
found: String,<null>
reason: actual and formal argument lists differ in length
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\Metrics.java:226: error: variable connection is already defined in method postPlugin(boolean)
/* */ URLConnection connection;
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\logging\LoggingManager.java:132: error: package Game does not exist
/* 133 */ if (GameManager.getInstance().getGameMode(GameManager.getInstance().getBlockGameId(b.getLocation())) == Game.GameMode.DISABLED)
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\logging\LoggingManager.java:141: error: package Game does not exist
/* 152 */ if (GameManager.getInstance().getGameMode(GameManager.getInstance().getBlockGameId(b.getLocation())) == Game.GameMode.DISABLED)
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\logging\QueueManager.java:77: error: constructor preRollback in class QueueManager.preRollback cannot be applied to given types;
/* 69 */ new preRollback(r, id, null).start();
required: GameReset,int
found: GameReset,int,<null>
reason: actual and formal argument lists differ in length
C:\Users\Egor.Galina-PK\Desktop\SurvivalGames class\com\skitscape\survivalgames\logging\QueueManager.java:138: error: constructor Rollback in class QueueManager.Rollback cannot be applied to given types;
/* 264 */ QueueManager.Rollback rb = new QueueManager.Rollback(QueueManager.this, this.result, this.r, this.id, null);
required: ResultSet,GameReset,int
found: QueueManager,ResultSet,GameReset,int,<null>
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors
C:\Users\Egor.Galina-PK\Documents\NetBeansProjects\JavaLibrary4\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\Users\Egor.Galina-PK\Documents\NetBeansProjects\JavaLibrary4\nbproject\build-impl.xml:244: Compile failed; see the compiler error output for details.
ПОСТРОЕНИЕ ЗАВЕРШЕНО СО СБОЕМ (общее время: 6 секунд)