最近在做3DES加密,在本地window下面运行ok的程序,放到linux环境上竟然报错:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede/CBC/PKCS5Padding
at javax.crypto.Cipher.getInstance(Ciphe...
分类:
编程语言 时间:
2014-07-22 23:05:35
阅读次数:
1021
用YII很久了今天看老代码发现了一个致命又气人的bug: “'SiteController cannot find the requested view "index". ”
在这个项目里对应的views/site/index.php文件都有,但是为什么还报了这个错呢, 于是开始看内核代码:
public function getViewFile($viewName)
{
if(($t...
分类:
其他好文 时间:
2014-05-01 21:59:39
阅读次数:
454
The server network address “TCP://myserverAddress:50221″ cannot be reached or does not exist.
Check the network address name and that the ports for the local and remote endpoints are operational.
(Microsoft SQL Server, Error: 1418)...
分类:
Web程序 时间:
2014-05-01 18:35:53
阅读次数:
665
问题描述:今天一早,所有淡定下来后准备启动本地Tomcat,突然出现一堆错误:严重:
StandardServer.await: create[8005]: java.net.BindException: Cannot assign
requested address: JVM_Bind at...
分类:
编程语言 时间:
2014-05-01 15:18:07
阅读次数:
413
# Python Urllib2和Cookielib的综合使用标签(空格分隔): Python
Urllib2 Fetch---1.
手动添加请求的Headers,在opener,Request,urlopen,看看有几种方法可以使用相同的Headers处理不同的网页;2.
设定CookieJar,...
分类:
编程语言 时间:
2014-05-01 09:43:02
阅读次数:
487
进制转换
题目详情:
我们通常用的十进制数包含0-9十个数字。假设有一种进制系统包含3种数字,从低到高分别为"oF8”,那么从1到9分别表示为F, 8, Fo, FF, F8, 8o, 8F, 88, Foo, FoF。给定一种进制的数和两种进制的数字表,请把它从第一种进制转换为第二种进制。
输入格式:
第一行是T表示测测试数据组数。(0
以后T行,每行有3个部分:...
分类:
其他好文 时间:
2014-04-30 22:12:40
阅读次数:
277
在windows下运行VMware创建的虚拟机时出错,无法运行。
错误提示大概为:
Failed to lock the file
Cannot open the disk 'D:\Windows Server 2008 R2 x64.vmdk' or one of the snapshot disks it depends on.
解决方法:
把虚拟机文件夹里【.lck】...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
366
The plan of city rebuild
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 616 Accepted Submission(s): 215
Problem Description
New...
分类:
其他好文 时间:
2014-04-29 13:22:21
阅读次数:
438
" checking for SSL headers... configure: error: Cannot find ssl headers"
原因是缺少openssl-devel,安装这个库就可以解决问题。
yum -y install openssl-devel...
分类:
其他好文 时间:
2014-04-27 21:32:05
阅读次数:
283
Annotations are one of the fundamental language changes
introduced in Java SE5. They provide information that you need to fully describe your program, but that cannot be expressed in Java. Thus, anno...
分类:
编程语言 时间:
2014-04-27 21:14:59
阅读次数:
431