使用npm install -g 'xxx' 之后仍然报Cannot find module 'xxx' 错误,可以通过设置环境变量来解决;Java代码exportNODE_PATH=/usr/local/lib/node_modules/echo$NODE_PATH
分类:
Web程序 时间:
2014-11-07 16:54:10
阅读次数:
171
C#的Substring()函数中,如果我们一不小心输入一个截取长度大于字符串的长时,就会收到一个异常:startIndex cannot be larger than length of string 。如:网页运行之后:Insus.NET的要求是,只要输入一个大于或是等于0的数值时,它就能帮助我...
28. Which two statements are true regarding constraints? (Choose two.)A. A foreign key cannot contain NULL values.B. A column with the UNIQUE constrai...
分类:
其他好文 时间:
2014-11-07 14:28:31
阅读次数:
135
错误: "Invalid 9-patch, cannot be less than 3 pixels in a dimension"本文地址: http://blog.csdn.net/caroline_wendy错误: "Invalid 9-patch, cannot be less than 3 pixels in a dimension: Invalid 9-patch, cannot be...
分类:
移动开发 时间:
2014-11-07 08:41:05
阅读次数:
319
C++编译错误cannot have cv-qualifier在C++中CV指const和volatile两个keyword。有两种情况不能使用CV限定。一、非成员函数不能含有CV限定,即const和volatile限定#include using namespace std;double getA...
分类:
编程语言 时间:
2014-11-06 19:05:49
阅读次数:
244
1. View只是存储下来的sql 语句 Views are nothing but saved SQL statements, and are sometimes referred as “Virtual Tables”. Keep in mind that Views cannot store ...
分类:
数据库 时间:
2014-11-06 16:28:49
阅读次数:
296
iReport-3.7.4安装后运行报错 cannot find java.exe 解决方法:到 ireport 安装的目录下找到 etc 目录下的 ireport.conf 文件? 将 jdkhome 前面的“#”去掉 ,路径改为自己本机的 JAVA_HOME 路径 eg. jdkhome="C...
分类:
编程语言 时间:
2014-11-06 15:12:59
阅读次数:
321
Cannot connect to the Map/Reduce location: hadoop1.0.3
Call to ubuntu/192.168.1.111:9000 failed on connection exception: java.net.ConnectException:...
分类:
系统相关 时间:
2014-11-06 13:03:09
阅读次数:
178
想利用泛型抽取BaseDao层,简化操作时出现问题:
@Transactional这个注解是可以继承的,于是就想写在抽取的BaseDao层上,让实现的类可以不用写@Transactional,就可开启事务。
问题描述:
由于偷懒,没给BaseDao抽接口,代码如下:
package com.liang.ssh2.base;
import java.lang.reflect.Paramet...
分类:
编程语言 时间:
2014-11-06 07:07:51
阅读次数:
353
今天在服务器上安装bind9.9.2的时候,gcc和gcc-c++已经安装过了,但是./configure的时候还是报错: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_...
分类:
其他好文 时间:
2014-11-05 22:50:34
阅读次数:
269