05-08-2015, 10:28 AM
Люди столкнулся с проблемой при запуске сборки пв приват последняя
установил 8 яву питаюсь запустить гс сервер выдает вот такую ошибку
May 08, 2015 9:23:37 AM net.sf.l2j.Config load
INFO: #Configs: loaded.
May 08, 2015 9:23:37 AM net.sf.l2j.gameserver.GameServer main
INFO: #Welcome to pwServer.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
at com.jolbox.bonecp.BoneCPConfig.setIdleConnectionTestPeriod(BoneCPConfig.java:417)
at com.jolbox.bonecp.BoneCPConfig.setIdleConnectionTestPeriod(BoneCPConfig.java:357)
at net.sf.l2j.L2DatabaseFactory.load(L2DatabaseFactory.java:55)
at net.sf.l2j.L2DatabaseFactory.init(L2DatabaseFactory.java:40)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:569)
root@vps151215:/home/gameserver#
смотрел файл GameServer_loop.sh и classpath, не могу понять из за чего ошибка
java -server -Dfile.encoding=UTF-8 -Xincgc -Xms2048m -Xmx2048m -cp ./../libs/lameguard-1.9.5.jar:./../libs/bsf.jar:./../libs/bsh-2.0b4.jar:./../libs/bonecp-0.8.0.jar:./../libs/slf4j-api-1.6.3.jar:./../libs/slf4j-nop-1.6.3.jar:./../libs/google-collections-1.0.jar:./../libs/jython.jar:./../libs/ecj.jar:./../libs/java-engine.jar:./../libs/commons-logging-1.1.jar:./../libs/javolution-5.5.1.jar:./../libs/mysql-connector-java-5.1.35-bin.jar:./../libs/it_mantaray.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1
REM for libs
SET CLASSPATH=%CLASSPATH%;./../libs/lameguard-1.9.5.jar
SET CLASSPATH=%CLASSPATH%;./../libs/ecj.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsf.jar
SET CLASSPATH=%CLASSPATH%;./../libs/jython.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsh-2.0b4.jar
SET CLASSPATH=%CLASSPATH%;./../libs/guava-17.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/java-engine.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bonecp-0.8.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/log4j-1.2.15.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-api-1.6.3.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-nop-1.6.3.jar
SET CLASSPATH=%CLASSPATH%;./../libs/javolution-5.5.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/commons-logging-1.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/mysql-connector-java-5.1.35-bin.jar
SET CLASSPATH=%CLASSPATH%;./../libs/it_mantaray.jar
установил 8 яву питаюсь запустить гс сервер выдает вот такую ошибку
May 08, 2015 9:23:37 AM net.sf.l2j.Config load
INFO: #Configs: loaded.
May 08, 2015 9:23:37 AM net.sf.l2j.gameserver.GameServer main
INFO: #Welcome to pwServer.
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
at com.jolbox.bonecp.BoneCPConfig.setIdleConnectionTestPeriod(BoneCPConfig.java:417)
at com.jolbox.bonecp.BoneCPConfig.setIdleConnectionTestPeriod(BoneCPConfig.java:357)
at net.sf.l2j.L2DatabaseFactory.load(L2DatabaseFactory.java:55)
at net.sf.l2j.L2DatabaseFactory.init(L2DatabaseFactory.java:40)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:569)
root@vps151215:/home/gameserver#
смотрел файл GameServer_loop.sh и classpath, не могу понять из за чего ошибка
java -server -Dfile.encoding=UTF-8 -Xincgc -Xms2048m -Xmx2048m -cp ./../libs/lameguard-1.9.5.jar:./../libs/bsf.jar:./../libs/bsh-2.0b4.jar:./../libs/bonecp-0.8.0.jar:./../libs/slf4j-api-1.6.3.jar:./../libs/slf4j-nop-1.6.3.jar:./../libs/google-collections-1.0.jar:./../libs/jython.jar:./../libs/ecj.jar:./../libs/java-engine.jar:./../libs/commons-logging-1.1.jar:./../libs/javolution-5.5.1.jar:./../libs/mysql-connector-java-5.1.35-bin.jar:./../libs/it_mantaray.jar net.sf.l2j.gameserver.GameServer > log/stdout.log 2>&1
REM for libs
SET CLASSPATH=%CLASSPATH%;./../libs/lameguard-1.9.5.jar
SET CLASSPATH=%CLASSPATH%;./../libs/ecj.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsf.jar
SET CLASSPATH=%CLASSPATH%;./../libs/jython.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bsh-2.0b4.jar
SET CLASSPATH=%CLASSPATH%;./../libs/guava-17.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/java-engine.jar
SET CLASSPATH=%CLASSPATH%;./../libs/bonecp-0.8.0.jar
SET CLASSPATH=%CLASSPATH%;./../libs/log4j-1.2.15.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-api-1.6.3.jar
SET CLASSPATH=%CLASSPATH%;./../libs/slf4j-nop-1.6.3.jar
SET CLASSPATH=%CLASSPATH%;./../libs/javolution-5.5.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/commons-logging-1.1.jar
SET CLASSPATH=%CLASSPATH%;./../libs/mysql-connector-java-5.1.35-bin.jar
SET CLASSPATH=%CLASSPATH%;./../libs/it_mantaray.jar