Показать сообщение отдельно
Непрочитано 17.06.2008, 15:28   #66
Аватар для AHToxa
Пользователь

Question Ответ: Мануал! Установка ява сервера SF, RT, ST etc.

L2JFree сборка 3313. БД, IP и проч. проч. проч. сделал. Запускаю создание hexid'a.
выводит:
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.BeanCreationExce ption: 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(Configurati on.java:607)
at org.springframework.orm.hibernate3.LocalSessionFac toryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSession FactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableB eanFactory.java:1118)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBean Factory.java:1085)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFact ory.java:429)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:1 41)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactor y.java:270)
at org.springframework.context.support.AbstractApplic ationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registr y.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(G ameServerRegister.j
ava:46)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\ToXa\╨а╨░╨▒╨
╛╤З╨╕╨╣ ╤Б╤В╨╛╨╗\AHTOHOBO\install games\kamael\server\server_2files\l2j-loginser
ver\dist\l2j-loginserver-1.0.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(Configurati on.java:604)
... 15 more

Exception in thread "main" org.springframework.beans.factory.BeanCreationExce pti
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(Configurati on.java:607)
at org.springframework.orm.hibernate3.LocalSessionFac toryBean.buildSessi
onFactory(LocalSessionFactoryBean.java:670)
at org.springframework.orm.hibernate3.AbstractSession FactoryBean.afterPr
opertiesSet(AbstractSessionFactoryBean.java:131)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableB eanFactory.java:1118)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBean Factory.java:1085)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFact ory.java:429)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getOb
ject(AbstractBeanFactory.java:250)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:1 41)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean
(AbstractBeanFactory.java:247)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean
(AbstractBeanFactory.java:161)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactor y.java:270)
at org.springframework.context.support.AbstractApplic ationContext.refres
h(AbstractApplicationContext.java:346)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<i
nit>(ClassPathXmlApplicationContext.java:92)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<i
nit>(ClassPathXmlApplicationContext.java:77)
at net.sf.l2j.tools.L2Registry.loadRegistry(L2Registr y.java:65)
at net.sf.l2j.gsregistering.GameServerRegister.main(G ameServerRegister.j
ava:46)
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\ToXa\╨а╨░╨▒╨
╛╤З╨╕╨╣ ╤Б╤В╨╛╨╗\AHTOHOBO\install games\kamael\server\server_2files\l2j-loginser
ver\dist\l2j-loginserver-1.0.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(Configurati on.java:604)
... 15 more
Для продолжения нажмите любую клавишу . . .

-------------------------------------------------------------------------------------------------------

извечный русский вопрос - что делать? + моя ява: jre-6u1-windows-i586-p-s

з.ы: ежели где-то на форуме подобный вопрос задавали - прошу извинить и переправить туда. Заранее благодарю.
AHToxa вне форума Ответить с цитированием