Jump to content
Sign in to follow this  
smitkam

Геймсервер

Recommended Posts

Starting Game Server


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.4.0.RELEASE)

26.06 09:25:00 INFO  Starting GameServer on DESKTOP-ONRIU7I with PID 7360 (C:\Users\NOYT\Desktop\build_l2helios\l2helios\game\libs\game-0.0.1.jar started by NOYT in C:\Users\NOYT\Desktop\build_l2helios\l2helios\game)
26.06 09:25:00 INFO  No active profile set, falling back to default profiles: default
26.06 09:25:00 INFO  Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@3d121db3: startup date [Fri Jun 26 09:25:00 MSK 2020]; root of context hierarchy
26.06 09:25:05 INFO  Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Tomcat; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]]
26.06 09:25:08 INFO  Building JPA container EntityManagerFactory for persistence unit 'default'
26.06 09:25:08 INFO  HHH000204: Processing PersistenceUnitInfo [
        name: default
        ...]
26.06 09:25:08 INFO  HHH000412: Hibernate Core {5.0.9.Final}
26.06 09:25:08 INFO  HHH000206: hibernate.properties not found
26.06 09:25:08 INFO  HHH000021: Bytecode provider name : javassist
26.06 09:25:08 INFO  HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
26.06 09:25:10 INFO  HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
26.06 09:25:11 INFO  HHH000228: Running hbm2ddl schema update
26.06 09:25:12 INFO  Initialized JPA EntityManagerFactory for persistence unit 'default'
26.06 09:25:12 INFO  =================================================
26.06 09:25:12 INFO  Authserver host info: IP[127.0.0.1], PORT[9014]
26.06 09:25:12 INFO  =================================================
26.06 09:25:12 INFO  Gameserver host info:
26.06 09:25:12 INFO  ID[1], IP[127.0.0.1], INNER_IP[127.0.0.1], PORT[7777]
26.06 09:25:12 INFO  =================================================
26.06 09:25:12 INFO  Abuse: Loaded 18 abuse words.
26.06 09:25:14 ERROR Property ├п┬╗┬┐# does not exist on target class com.zaxxer.hikari.HikariConfig
26.06 09:25:14 WARN  Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gameServer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$c9a5ea57]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
26.06 09:25:14 INFO  Closing JPA EntityManagerFactory for persistence unit 'default'
26.06 09:25:14 INFO

Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)


26.06 09:25:14 ERROR Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gameServer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$c9a5ea57]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
        at studio.lineage2.gameserver.GameServer.main(GameServer.java:421)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$c9a5ea57]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
        ... 16 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: null
        at studio.lineage2.gameserver.database.DatabaseFactory.getInstance(DatabaseFactory.java:26)
        at studio.lineage2.gameserver.idfactory.IdFactory.resetOnlineStatus(IdFactory.java:73)
        at studio.lineage2.gameserver.idfactory.IdFactory.<init>(IdFactory.java:63)
        at studio.lineage2.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFactory.java:34)
        at studio.lineage2.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:51)
        at studio.lineage2.gameserver.GameServer.<init>(GameServer.java:162)
        at studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$c9a5ea57.<init>(<generated>)
        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 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
        ... 18 common frames omitted
Caused by: java.lang.RuntimeException: Property ├п┬╗┬┐# does not exist on target class com.zaxxer.hikari.HikariConfig
        at com.zaxxer.hikari.util.PropertyElf.setProperty(PropertyElf.java:155)
        at com.zaxxer.hikari.util.PropertyElf.setTargetFromProperties(PropertyElf.java:67)
        at com.zaxxer.hikari.HikariConfig.loadProperties(HikariConfig.java:870)
        at com.zaxxer.hikari.HikariConfig.<init>(HikariConfig.java:144)
        at studio.lineage2.gameserver.database.DatabaseFactory.<init>(DatabaseFactory.java:15)
        at studio.lineage2.gameserver.database.DatabaseFactory.<init>(DatabaseFactory.java:9)
        at studio.lineage2.gameserver.database.DatabaseFactory$DataSourceHolder.<clinit>(DatabaseFactory.java:21)
        ... 30 common frames omitted

Server terminated abnormaly ...


Server terminated ...
Подскажите что не так

Share this post


Link to post
Реклама

Перевод по гуглу

Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)

Ошибка запуска ApplicationContext. Для отображения отчета автоконфигурации включите ведение журнала отладки (начните с --debug)

 

 

Error creating bean with name 'gameServer': Instantiation of bean failed;

Ошибка создания бина с именем 'gameServer': не удалось создать бин

 

Share this post


Link to post

На сколько мне помниться для Spring Boot 1.4 необходима версия Java 7

Уточните, пожалуйста, на какой версии Java вы поднимаете сервер ?

By default, Spring Boot 1.4.0.M3 requires Java 7 and Spring Framework 4.3.0.RC2 or above. You can use Spring Boot with Java 6 with some additional configuration. See Section 80.11, “How to use Java 6” for more details. Explicit build support is provided for Maven (3.2+) and Gradle (1.12+).

Edited by mindevis

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...