Guys i need your help, just tried to register a gameserver and when i open registergameserver.bat (using latest stable version of l2jfree Gracia)i get this error :
INFO : loading login config
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace
: 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: l2jfree-login-1.1.0.jar check that you update xml file in
config folder ! org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'sessionFactory' defined in class path resource [spring.x
ml]: Invocation of init method failed; nested exception is org.hibernate.Invalid
MappingException: Could not read mapping documents from jar: l2jfree-login-1.1.0
.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2jfree-login-1.1.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
I haven't tryied the subclass system because i will not use it but i can check it, for sure it has some dublicate ai's in npcdata.txt (two monsters have the same ai) so you need to change them, you can find them from other pack because it's easier that way. I can send you the system, i guess there is no point to send the whole client because my client is changing to c3 but also the pack reads specific files from the system thats why some people may get disconected when they are trying to login. https://www.mediafire.com/file/4nd8fb9nwmfmdb0/System.rar/file
Question
Feelmyspells
Guys i need your help, just tried to register a gameserver and when i open registergameserver.bat (using latest stable version of l2jfree Gracia)i get this error :
INFO : loading login config
INFO : MLog clients using log4j logging.
INFO : Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace
: 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: l2jfree-login-1.1.0.jar check that you update xml file in
config folder ! org.springframework.beans.factory.BeanCreationException: Error c
reating bean with name 'sessionFactory' defined in class path resource [spring.x
ml]: Invocation of init method failed; nested exception is org.hibernate.Invalid
MappingException: Could not read mapping documents from jar: l2jfree-login-1.1.0
.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2jfree-login-1.1.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 com.l2jfree.L2Registry.loadRegistry(L2Registry.java:65)
at com.l2jfree.gsregistering.GameServerRegister.main(GameServerRegister.
java:47)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\dimitris\╬Χ╧
Α╬╣╧Η╬υ╬╜╬╡╬╣╬▒ ╬╡╧?╬│╬▒╧Δ╬ψ╬▒╧Γ\Server\Login\l2jfree-login-1.1.0.jar (╘Ύ ≤²≤ΪύΉ
ά ϊίΊ ί▀Ίάώ ≤ί ϋ▌≤ύ Ίά ίΊΪΎΏ▀≤ίώ ΪύΊ ΆάϋΎ±ώ≤Ή▌Ίύ ϊώάϊ±ΎΉ▐ ϊ▀≤ΆΎΫ)
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: l2jfree-
login-1.1.0.jar
Caused by: org.hibernate.InvalidMappingException: Could not read mapping documen
ts from jar: l2jfree-login-1.1.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 com.l2jfree.L2Registry.loadRegistry(L2Registry.java:65)
at com.l2jfree.gsregistering.GameServerRegister.main(GameServerRegister.
java:47)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\dimitris\╬Χ╧
Α╬╣╧Η╬υ╬╜╬╡╬╣╬▒ ╬╡╧?╬│╬▒╧Δ╬ψ╬▒╧Γ\Server\Login\l2jfree-login-1.1.0.jar (╘Ύ ≤²≤ΪύΉ
ά ϊίΊ ί▀Ίάώ ≤ί ϋ▌≤ύ Ίά ίΊΪΎΏ▀≤ίώ ΪύΊ ΆάϋΎ±ώ≤Ή▌Ίύ ϊώάϊ±ΎΉ▐ ϊ▀≤ΆΎΫ)
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
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now