04-01-2016, 09:45 PM
Здравствуйте, попал в замкнутый круг.
Ставлю jdk-6u45
При попытке компиляции сборки U3J взятой из ссылки в теме
https://forum.zone-game.info/showthread....30&page=22
Выдаёт вот такую ошибку
Ставлю jdk-6u45
При попытке компиляции сборки U3J взятой из ссылки в теме
https://forum.zone-game.info/showthread....30&page=22
Выдаёт вот такую ошибку
spoiler
PHP код:
<?php
Buildfile: C:\U3J-Aion-master\chatserver\build.xml
Buildfile: C:\U3J-Aion-master\gameserver\build.xml
Buildfile: C:\U3J-Aion-master\loginserver\build.xml
Buildfile: C:\U3J-Aion-master\commons\build.xml
clean:
init:
clean:
[mkdir] Created dir: C:\U3J-Aion-master\commons\build
[mkdir] Created dir: C:\U3J-Aion-master\commons\build\classes
clean:
compile:
clean:
init:
[mkdir] Created dir: C:\U3J-Aion-master\loginserver\build
[mkdir] Created dir: C:\U3J-Aion-master\loginserver\build\classes
init:
compile: [mkdir] Created dir: C:\U3J-Aion-master\chatserver\build
[mkdir] Created dir: C:\U3J-Aion-master\chatserver\build\classes
compile:
clean:
init:
[mkdir] Created dir: C:\U3J-Aion-master\gameserver\build
[mkdir] Created dir: C:\U3J-Aion-master\gameserver\build\classes
compile:
[javac] Compiling 56 source files to C:\U3J-Aion-master\chatserver\build\cla
sses
[javac] Compiling 81 source files to C:\U3J-Aion-master\loginserver\build\cl
asses
[javac] javac: invalid target release: 1.7
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
C:\U3J-Aion-master\chatserver\build.xml:52: Compile failed; see the compiler err
or output for details.
Total time: 0 seconds
C:\U3J-Aion-master\chatserver> [javac] javac: invalid target release: 1.7
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
[javac] Compiling 133 source files to C:\U3J-Aion-master\commons\build\class
es
BUILD FAILED
C:\U3J-Aion-master\loginserver\build.xml:62: Compile failed; see the compiler er
ror output for details.
Total time: 0 seconds
C:\U3J-Aion-master\loginserver> [javac] javac: invalid target release: 1.7
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
C:\U3J-Aion-master\commons\build.xml:52: Compile failed; see the compiler error
output for details.
Total time: 0 seconds
C:\U3J-Aion-master\commons> [javac] Compiling 1503 source files to C:\U3J-Aio
n-master\gameserver\build\classes
[javac] javac: invalid target release: 1.7
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
C:\U3J-Aion-master\gameserver\build.xml:54: Compile failed; see the compiler err
or output for details.
в гугле говорят что этот xml предназначем для jdk7+
Ставлю jdk-7u80, компилится на отлично, но при запуске(логин сервера) выдаёт вот такую ошибку
spoiler
PHP код:
<?php
[INFO] 2016-04-01 21:43:28 - Successfully connected to database
Exception in thread "main" java.lang.Error: Can't load database script context:
.\data\scripts\system\database.xml
at commons.database.dao.DAOManager.init(DAOManager.java:64)
at loginserver.LoginServer.main(LoginServer.java:53)
Caused by: java.lang.NullPointerException
at commons.scripting.impl.javacompiler.ClassFileManager.<init>(ClassFile
Manager.java:69)
at commons.scripting.impl.javacompiler.ScriptCompilerImpl.doCompilation(
ScriptCompilerImpl.java:190)
at commons.scripting.impl.javacompiler.ScriptCompilerImpl.compile(Script
CompilerImpl.java:173)
at commons.scripting.impl.ScriptContextImpl.init(ScriptContextImpl.java:
143)
at commons.scripting.scriptmanager.ScriptManager.load(ScriptManager.java
:91)
at commons.database.dao.DAOManager.init(DAOManager.java:60)
... 1 more
Login Server terminated abnormaly, check files.
Login Server terminated.