Обратите внимание, что данный пользователь заблокирован! Не совершайте с ним никаких сделок! Перейдите в его профиль, чтобы узнать причину блокировки.
- Хроники
- Harbingers of War
- Исходники
- Присутствуют
- Сборка
- Samsklepal
Продолжаю мучать Java. Что за магия?
При том что имеется Connection.java в папке gameserver/lin2wofe/gameserver/network
Что-то я запутался. И другие пути тоже прописаны и файлы там лежат. Почему оно не тянет с gameserver?
D:\Lineage II - Zero Source>ant
Buildfile: D:\Lineage II - Zero Source\build.xml
checkRequirements:
[echo] Check ANT version
[echo] Check JDK version
init:
compile-commons:
[delete] Deleting directory D:\Lineage II - Zero Source\build\classes
[mkdir] Created dir: D:\Lineage II - Zero Source\build\classes
[javac] Compiling 7 source files to D:\Lineage II - Zero Source\build\classe
s
[javac] D:\Lineage II - Zero Source\commons\lin2wofe\commons\util\Rnd.java:3
1: warning: [unchecked] unchecked conversion
[javac] private static ThreadLocal<Random> RANDOM = new ThreadLocal()
[javac] ^
[javac] required: ThreadLocal<Random>
[javac] found: <anonymous ThreadLocal>
[javac] 1 warning
commons-jar:
[echo] Current Revision ${build.revision}
[jar] Building jar: D:\Lineage II - Zero Source\build\commons.jar
compile-authserver:
[delete] Deleting directory D:\Lineage II - Zero Source\build\classes
[mkdir] Created dir: D:\Lineage II - Zero Source\build\classes
[javac] Compiling 19 source files to D:\Lineage II - Zero Source\build\class
es
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:7: error: package lin2wofe.gameserver.network does not exist
[javac] import lin2wofe.gameserver.network.Connection;
[javac] ^
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:15: error: cannot find symbol
[javac] private final Map<String, Connection> _accountsInGameServer = ne
w HashMap<>();
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:44: error: cannot find symbol
[javac] public void addGameServerLogin(String account, Connection connec
tion)
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:112: error: cannot find symbol
[javac] public Connection getClientConnection(String loginName)
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\network\C
lientThread.java:31: error: package lin2wofe.gameserver.network.serverpackets do
es not exist
[javac] import lin2wofe.gameserver.network.serverpackets.LeaveWorld;
[javac] ^
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\network\C
lientThread.java:152: error: cannot find symbol
[javac] lc.getCl
ientConnection(account).sendPacket(new LeaveWorld());
[javac]
^
[javac] symbol: class LeaveWorld
[javac] location: class ClientThread
[javac] 6 errors
Buildfile: D:\Lineage II - Zero Source\build.xml
checkRequirements:
[echo] Check ANT version
[echo] Check JDK version
init:
compile-commons:
[delete] Deleting directory D:\Lineage II - Zero Source\build\classes
[mkdir] Created dir: D:\Lineage II - Zero Source\build\classes
[javac] Compiling 7 source files to D:\Lineage II - Zero Source\build\classe
s
[javac] D:\Lineage II - Zero Source\commons\lin2wofe\commons\util\Rnd.java:3
1: warning: [unchecked] unchecked conversion
[javac] private static ThreadLocal<Random> RANDOM = new ThreadLocal()
[javac] ^
[javac] required: ThreadLocal<Random>
[javac] found: <anonymous ThreadLocal>
[javac] 1 warning
commons-jar:
[echo] Current Revision ${build.revision}
[jar] Building jar: D:\Lineage II - Zero Source\build\commons.jar
compile-authserver:
[delete] Deleting directory D:\Lineage II - Zero Source\build\classes
[mkdir] Created dir: D:\Lineage II - Zero Source\build\classes
[javac] Compiling 19 source files to D:\Lineage II - Zero Source\build\class
es
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:7: error: package lin2wofe.gameserver.network does not exist
[javac] import lin2wofe.gameserver.network.Connection;
[javac] ^
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:15: error: cannot find symbol
[javac] private final Map<String, Connection> _accountsInGameServer = ne
w HashMap<>();
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:44: error: cannot find symbol
[javac] public void addGameServerLogin(String account, Connection connec
tion)
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\LoginCont
roller.java:112: error: cannot find symbol
[javac] public Connection getClientConnection(String loginName)
[javac] ^
[javac] symbol: class Connection
[javac] location: class LoginController
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\network\C
lientThread.java:31: error: package lin2wofe.gameserver.network.serverpackets do
es not exist
[javac] import lin2wofe.gameserver.network.serverpackets.LeaveWorld;
[javac] ^
[javac] D:\Lineage II - Zero Source\authserver\lin2wofe\authserver\network\C
lientThread.java:152: error: cannot find symbol
[javac] lc.getCl
ientConnection(account).sendPacket(new LeaveWorld());
[javac]
^
[javac] symbol: class LeaveWorld
[javac] location: class ClientThread
[javac] 6 errors
При том что имеется Connection.java в папке gameserver/lin2wofe/gameserver/network
package lin2wofe.gameserver.network.connection;