问题一:log4j:WARN No appenders could be found for logger (org.codehaus.xfire.transport.DefaultTransportManager).log4j:WARN Please initialize the log4j sy...
分类:
Web程序 时间:
2015-04-16 21:30:58
阅读次数:
389
网上给出了很多中解决办法,主要有一下几种:1 关闭Windows防火墙;2 关闭ipv6或设置ipv4偏好,具体为:在“设备管理器”,显示隐藏设备,禁用“Teredo”开头的一个网络设备;在eclipse.ini文件增加(最后一行的参数)openFile-vmargs-Djava.net.prefe...
分类:
移动开发 时间:
2015-04-15 00:43:56
阅读次数:
186
电脑一主程序正常,打开另一程序时,总是提示unable to initialize client library context 从DSEDIT发现"Loaded the Dynamic Link Library NLWNSCK.DLL (c:\sybase\DLL\NLWNSCK.DLL)"找.....
分类:
其他好文 时间:
2015-04-14 14:34:20
阅读次数:
916
1. in c#readonly can be delayed to initialize in constructor.2. in c++totally no readonly.Many people have mastered c++ before c#. They are the manage...
分类:
编程语言 时间:
2015-04-14 00:33:59
阅读次数:
158
failed to lazily initialize a collection of role 在开发Struts2.0+hibernate3.2+spring2.5项目过程中,遇到了failed to lazily initialize a collection of role: XXXXXX, no session or session was close...
分类:
其他好文 时间:
2015-04-13 16:54:16
阅读次数:
119
7、类Class
(1)initialize 方法 ,initialize是一个特殊方法,默认为私有,在调用new创建一个 新对象时,Ruby首先分配一些内存来保存未初始化的对象,然后调用对象的 initialize方法,
(2)inspect方法 默认将对象的ID和实例变量格式化
(3)Ruby的类永远都不是封闭的,意味着可以向一个已有的类中添加方法,包括内...
分类:
其他好文 时间:
2015-04-11 14:51:35
阅读次数:
119
在springmvc hibernate的映射文件中如图设置多对多关联,为了显示查询的的列表,打印json数据,我们刚开始是这样设置如下的设置文件然后进行查询操作结果报failed to lazily initialize a collection of role错误假如这样设置结果就是这样的正常打...
分类:
其他好文 时间:
2015-04-10 23:44:33
阅读次数:
191
1 _initialize(); 32 log_message('debug', "Hooks Class Initialized"); 33 } 34 35 // ------------------------------------------------------------...
分类:
Web程序 时间:
2015-04-10 19:59:35
阅读次数:
148
《Head First Design Pattern》一书中对观察者模式的定义如下:
The Observer Pattern defines a one-to-many dependency objects so that when one object changes state, all of its dependents are notified and updated automatic...
分类:
其他好文 时间:
2015-04-09 23:54:29
阅读次数:
319