IBatis.net在多线程中报错“WebSessionStore: Could not obtain reference to HttpContext”分析:因为ibatis的ISqlMapSession是存储在Http.Request.Items上的,在你新开的线程里是不能操作IIS的上的线程的...
分类:
Web程序 时间:
2014-07-11 22:52:37
阅读次数:
331
Describe how you could use a single array to implement three stacks.Divide the array into three fixed parts, each stands for a stack./*Fixed Size Stac...
分类:
其他好文 时间:
2014-07-11 10:45:34
阅读次数:
189
1、android支持库未安装
编译不过,提示如下:
Could not find any version that matches com.android.support:appcompat-v7:+
.......
Please install the Android Support Repository from the Android SDK Manager
其实原因和解决方法已经说...
分类:
其他好文 时间:
2014-07-10 23:39:33
阅读次数:
282
安装mysql出现Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH),提示解决方法[root@localhost software]# cd mysql-5.5.11[root@localhost mysql-5.5...
分类:
其他好文 时间:
2014-07-09 15:23:41
阅读次数:
228
原因:没有配置resolv.conf
解决方法:
到/etc目录下配置resolv.conf加入nameserver IP,如:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
保存再次运行上面命令就可以。
关键一点 serach那一行要在nameserver的后面...
分类:
其他好文 时间:
2014-07-09 13:13:24
阅读次数:
137
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:
其他好文 时间:
2014-07-08 23:12:45
阅读次数:
298
题目
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent
a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find ...
分类:
其他好文 时间:
2014-07-08 21:43:08
阅读次数:
219
情景:在一台真机中运行项目。
提示:Could not change executable permissions on the application.
解决:真机中已经有一个同名的应用。bundle identifier 一样。删掉那个应用就可以了。
参考:http://stackoverflow.com/questions/12547706/could-not-change-execu...
分类:
移动开发 时间:
2014-07-08 14:22:34
阅读次数:
289
[root@centos64x64mysql-5.1.65]#/etc/init.d/mysqldrestartMySQLmanagerorserverPIDfilecouldnotbefound![FAILED]解决办法第一,先删除rm-rf/var/lib/mysql,然后重新初始化/usr/local/mysql/bin/mysql_install_db--user=mysql
分类:
数据库 时间:
2014-07-08 09:19:32
阅读次数:
281
今天更新为163的源后,yum的时候报错:GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5.
解决方案:vi /etc/yum.repos.d/CentOS-Base.repo
把文件里所有的RPM-GPG-KEY-CentOS-5更改为R...
分类:
其他好文 时间:
2014-07-06 08:39:27
阅读次数:
404