Jump to content
  • 0

hexid problem


Question

Posted

kalispera otan paw na vgalw to hexid exw auto to provlima eiparxei kapoia lusei? tha htan eukolo kapoios na me voithisei?

 

Exception in thread "main" java.lang.ExceptionInInitializerError
        at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:147)
        at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:18)
        at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(GameServerTable.java:96)
        at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:43)
        at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameServerTable.java:195)
        at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.java:190)
        at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.java:129)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2568)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

1 answer to this question

Recommended Posts

  • 0
Posted (edited)
On 11/4/2019 at 7:27 PM, DaVeOn said:

kalispera otan paw na vgalw to hexid exw auto to provlima eiparxei kapoia lusei? tha htan eukolo kapoios na me voithisei?

 

Exception in thread "main" java.lang.ExceptionInInitializerError
        at net.sf.l2j.L2DatabaseFactory$SingletonHolder.<clinit>(L2DatabaseFactory.java:147)
        at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:18)
        at net.sf.l2j.loginserver.GameServerTable.loadRegisteredGameServers(GameServerTable.java:96)
        at net.sf.l2j.loginserver.GameServerTable.<init>(GameServerTable.java:43)
        at net.sf.l2j.loginserver.GameServerTable$SingletonHolder.<clinit>(GameServerTable.java:195)
        at net.sf.l2j.loginserver.GameServerTable.getInstance(GameServerTable.java:190)
        at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.java:129)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2568)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)

 

Εχεις κανει install την database ?

Εχεις βαλει σωστα το password στα configs?

Edited by Dragic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..