MVP 5 Опубликовано 6 апреля, 2013 Сделал всьо как описано в мануале ТУТ, при компиляцие сборки выдает следущие ошибки. Как исправить? Натыкаю +++ Microsoft Windows [Version 6.1.7601] (c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены. C:\Users\lyubomur>cd C:\s\gameserver C:\s\gameserver>ant Buildfile: build.xml prepare-local: prepare-final: init: [mkdir] Created dir: C:\s\gameserver\build\classes [mkdir] Created dir: C:\s\gameserver\build\dist [mkdir] Created dir: C:\s\gameserver\build\dist\loginserver [mkdir] Created dir: C:\s\gameserver\build\dist\loginserver\lib [mkdir] Created dir: C:\s\gameserver\build\dist\gameserver [mkdir] Created dir: C:\s\gameserver\build\dist\gameserver\lib version: [echo] L2jFrozen Gameserver Revision: exported compile: [javac] Compiling 1473 source files to C:\s\gameserver\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] C:\s\gameserver\head-src\com\l2jfrozen\Config.java:2486: error: cann ot find symbol [javac] HERO_CUSTOM_ITEMS = Boolean.parseBoolean(L2JFroz enSettings.getProperty("EnableHeroCustomItem", "true")); [javac] ^ [javac] symbol: variable HERO_CUSTOM_ITEMS [javac] location: class Config [javac] C:\s\gameserver\head-src\com\l2jfrozen\Config.java:2487: error: cann ot find symbol [javac] HERO_CUSTOM_ITEM_ID = Integer.parseInt(L2JFrozen Settings.getProperty("HeroCustomItemId", "3481")); [javac] ^ [javac] symbol: variable HERO_CUSTOM_ITEM_ID [javac] location: class Config [javac] C:\s\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandle rs\HeroCustom2Item.java:57: error: cannot find symbol [javac] activeChar.setIsHero(true); [javac] ^ [javac] symbol: method setIsHero(boolean) [javac] location: variable activeChar of type L2PcInstance [javac] C:\s\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandle rs\HeroCustom3Item.java:57: error: cannot find symbol [javac] activeChar.setIsHero(true); [javac] ^ [javac] symbol: method setIsHero(boolean) [javac] location: variable activeChar of type L2PcInstance [javac] C:\s\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandle rs\HeroCustom4Item.java:57: error: cannot find symbol [javac] activeChar.setIsHero(true); [javac] ^ [javac] symbol: method setIsHero(boolean) [javac] location: variable activeChar of type L2PcInstance [javac] C:\s\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandle rs\HeroCustomItem.java:38: error: cannot find symbol [javac] if(Config.HERO_CUSTOM_ITEMS) [javac] ^ [javac] symbol: variable HERO_CUSTOM_ITEMS [javac] location: class Config [javac] C:\s\gameserver\head-src\com\l2jfrozen\gameserver\handler\itemhandle rs\HeroCustomItem.java:112: error: cannot find symbol [javac] Config.HERO_CUSTOM_ITEM_ID [javac] ^ [javac] symbol: variable HERO_CUSTOM_ITEM_ID [javac] location: class Config [javac] Note: C:\s\gameserver\head-src\com\l2jfrozen\protection\CatsGuard.ja va uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 7 errors [javac] 1 warning BUILD FAILED C:\s\gameserver\build.xml:65: Compile failed; see the compiler error output for details. Total time: 10 seconds C:\s\gameserver> Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
Temptation 69 Опубликовано 6 апреля, 2013 HeroCustomItem.java епта в логах все же написанно. Выложи config.java и HeroCustomItem.java Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты