全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 大胡子
打印 上一主题 下一主题

完全linux版的dao剑无shuang方法发布

  [复制链接]
51#
 楼主| 发表于 2013-2-21 02:37:12 | 只看该作者
3389 发表于 2013-2-21 02:29
www下是否要设置什么目录可写?

不需要 555就OK
52#
发表于 2013-2-21 06:35:46 | 只看该作者
[root@g1 DAOJIAN]# java -jar GPH.jar
log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrap': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yayo.warriors.module.buffer.facade.BufferFacade com.yayo.warriors.Bootstrap.bufferFacade; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bufferFacadeImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yayo.warriors.module.map.facade.MapFacade com.yayo.warriors.module.buffer.facade.impl.BufferFacadeImpl.mapFacade; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mapFacadeImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yayo.warriors.event.EnterScreenReceiver com.yayo.warriors.module.map.facade.impl.MapFacadeImpl.enterScreenReceiver; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enterScreenReceiver': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yayo.warriors.module.user.facade.UserFacade com.yayo.warriors.event.EnterScreenReceiver.userFacade; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userFacadeImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yayo.warriors.module.onlines.manager.OnlineStatisticManager com.yayo.warriors.module.user.facade.impl.UserFacadeImpl.onlineStatisticManager; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'onlineStatisticManagerImpl': Invocation of init method failed; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
        at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
        at
....

省略好多行  






运行不了
53#
发表于 2013-2-21 06:38:10 | 只看该作者
[root@g1 DAOJIAN]# java -version
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7.0_15-b03)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)


版本也是1.7的
54#
 楼主| 发表于 2013-2-21 06:42:22 | 只看该作者
3389 发表于 2013-2-21 06:38
[root@g1 DAOJIAN]# java -version
java version "1.7.0_15"
Java(TM) SE Runtime Environment (build 1.7. ...

mysql5.5 ?

登录mysql lower_case_table_names看看是不是被锁定在0  有些mysql这个参数是只读 不能改。
55#
发表于 2013-2-21 10:49:46 | 只看该作者
大胡子 发表于 2013-2-21 06:42
mysql5.5 ?

登录mysql lower_case_table_names看看是不是被锁定在0  有些mysql这个参数是只读 不能改 ...

√   mysql_server 版本:5.1.45
56#
发表于 2013-2-21 11:11:01 | 只看该作者
大胡子 发表于 2013-2-21 06:42
mysql5.5 ?

登录mysql lower_case_table_names看看是不是被锁定在0  有些mysql这个参数是只读 不能改 ...

服务器运行起来了、、现在就是网站不行。注册完。数据库 player表里面没有新增帐号的数据。
57#
发表于 2013-2-21 11:25:39 | 只看该作者
马克
58#
发表于 2013-2-21 12:01:13 | 只看该作者
搞定了。 。。
1. JAVA 的问题是由于lower_case_table_names没有设置
2.游戏注册不到。是由于表损坏。在win下导出sql,然后导入即可
59#
发表于 2013-2-21 12:31:38 | 只看该作者
太牛了
60#
发表于 2013-2-21 12:40:52 | 只看该作者
大胡子 发表于 2013-2-21 06:42
mysql5.5 ?

登录mysql lower_case_table_names看看是不是被锁定在0  有些mysql这个参数是只读 不能改 ...

注册成功可以进入游戏。。但是关闭后。重新登录。就一直在 state.php这个页面白屏。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-5-10 13:28 , Processed in 0.061461 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表