Jump to content

[SHARE] L][Emu - CT1 Server Packs !! Compiled Every day !


Recommended Posts

O_O , In configs => Custom => Custom.proprieties (The last 2 lines) ;D

 

Just search a BIT before you Reply Here.

 

ty.

Sry and thanks ;)

Link to comment
Share on other sites

Hello! i have one error in linux Debian 4.0 (java: jdk1.6.0_5):

 

=============================================================-[ Configuration ]
==================================================================-[ Database ]
FATAL - Unable to load registry : Error creating bean with name 'ForumsDAO' defined in class path resource [spring_dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring_tech.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist check that you update xml file in config folder !
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ForumsDAO' defined in class path resource [spring_dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring_tech.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring_tech.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
Caused by:
java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
        at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:155)
        at org.springframework.core.io.ClassPathResource.getFile(ClassPathResource.java:167)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:670)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:245)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1019)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.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:273)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
        at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
        at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:57)
        at net.sf.l2j.L2DatabaseFactory.initInstance(L2DatabaseFactory.java:148)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:136)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:400)
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ForumsDAO' defined in class path resource [spring_dao.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring_tech.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [spring_tech.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
Caused by: java.io.FileNotFoundException: class path resource [l2j-gameserver-1.0.0.jar] cannot be resolved to URL because it does not exist
        at org.springframework.core.io.ClassPathResource.getURL(ClassPathResource.java:155)
        at org.springframework.core.io.ClassPathResource.getFile(ClassPathResource.java:167)
        at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:670)
        at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:245)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:124)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1019)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.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:273)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
        at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registry.java:65)
        at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:57)
        at net.sf.l2j.L2DatabaseFactory.initInstance(L2DatabaseFactory.java:148)
        at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:136)
        at net.sf.l2j.gameserver.GameServer.main(GameServer.java:400)

 

 

Can some one help me with this error ?

Link to comment
Share on other sites

yeah you have to enable them from l2j-gameserver\dist\config\custom\custom.properties all these npc_buffer.properties all .... and for the gm shop to work you must go into custom.properties scroll down with mouse .. to see that

 

# --------------------------------

# Section: Database Customizations

# --------------------------------

# loads the custom buylists that will be used by custom merchant npcs

# default = false

LoadCustomBuylists = true

 

# loads the custom teleport tables that will be used by custom teleporter npcs

# default = false

LoadCustomTeleports = true

 

make sure its at true and not false ! i think i helped !!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...