Jump to content

KiCaJ

Members
  • Posts

    3
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

About KiCaJ

Profile Information

  • Gender
    Not Telling

KiCaJ's Achievements

Newbie

Newbie (1/16)

0

Reputation

  1. 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 ?
×
×
  • Create New...