Ошибка При Запуске
1 ответов88 просмотровСейчас просматривают: 1
· 27.06.2008, 21:26
Буду флудить пока не подскажите )
При регистрировании сервера:
CODE
INFO : loading login config
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; tra
ce: 10]
FATAL : Unable to load registry : Error creating bean with name 'sessionFactory'
defined in class path resource [spring.xml]: Invocation of init method failed;
nested exception is org.hibernate.InvalidMappingException: Could not read mappin
g documents from jar: l2j-loginserver-1.0.0.jar check that you update xml file i
n config folder ! org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in class path resource [spring
.xml]: Invocation of init method failed; nested exception is org.hibernate.Inval
idMappingException: Could not read mapping documents from jar: l2j-loginserver-1
.0.0.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2j-loginserver-1.0.0.jar
at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:46)
Caused by: java.util.zip.ZipException: ╤шэЄръёшўхёър ю°шсър т шьхэш Їрщыр, шьхэ
ш яряъш шыш ьхЄъх Єюьр
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)
... 15 more
Exception in thread "main" org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'sessionFactory' defined in class path resourc
e [spring.xml]: Invocation of init method failed; nested exception is org.hibern
ate.InvalidMappingException: Could not read mapping documents from jar: l2j-logi
nserver-1.0.0.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2j-loginserver-1.0.0.jar
at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:46)
Caused by: java.util.zip.ZipException: ╤шэЄръёшўхёър ю°шсър т шьхэш Їрщыр, шьхэ
ш яряъш шыш ьхЄъх Єюьр
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.1 [built 15-March-2007 01:32:31; debug? true; tra
ce: 10]
FATAL : Unable to load registry : Error creating bean with name 'sessionFactory'
defined in class path resource [spring.xml]: Invocation of init method failed;
nested exception is org.hibernate.InvalidMappingException: Could not read mappin
g documents from jar: l2j-loginserver-1.0.0.jar check that you update xml file i
n config folder ! org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in class path resource [spring
.xml]: Invocation of init method failed; nested exception is org.hibernate.Inval
idMappingException: Could not read mapping documents from jar: l2j-loginserver-1
.0.0.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2j-loginserver-1.0.0.jar
at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:46)
Caused by: java.util.zip.ZipException: ╤шэЄръёшўхёър ю°шсър т шьхэш Їрщыр, шьхэ
ш яряъш шыш ьхЄъх Єюьр
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)
... 15 more
Exception in thread "main" org.springframework.beans.factory.BeanCreationExcepti
on: Error creating bean with name 'sessionFactory' defined in class path resourc
e [spring.xml]: Invocation of init method failed; nested exception is org.hibern
ate.InvalidMappingException: Could not read mapping documents from jar: l2j-logi
nserver-1.0.0.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2j-loginserver-1.0.0.jar
at org.hibernate.cfg.Configuration.addJar(Configuration.java:607)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:429)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:270)
at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(GameServerRegister.j
ava:46)
Caused by: java.util.zip.ZipException: ╤шэЄръёшўхёър ю°шсър т шьхэш Їрщыр, шьхэ
ш яряъш шыш ьхЄъх Єюьр
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at org.hibernate.cfg.Configuration.addJar(Configuration.java:604)
0
Войдите или зарегистрируйтесь чтобы ответить
