编译驱动时出现"Cannot open file trace.h"错误如题,用VS2013编译驱动是出现上述错误,原来是开启了WPP追踪导致的: 解决方案:右键项目名-属性-WPP Tracing--->【Run Wpp Tracing】选择 即可。需要注意的是编译平台需要正确选择,如果针对x86....
分类:
其他好文 时间:
2015-04-15 09:32:29
阅读次数:
165
[ew69@localhost conf]# /usr/local/nginx/sbin/nginx
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 确认已...
分类:
其他好文 时间:
2015-04-15 01:02:21
阅读次数:
163
The time when I runned Eclipse in my computer, it has this information displayed: WorkSpace *** in use or cannot be created, choose a different one. S...
分类:
系统相关 时间:
2015-04-14 09:42:18
阅读次数:
187
场景:Eclipse中某android项目被delete,但是并未勾选“delete project contents from disk(cannot be undone)”。删除后,下次再想打开android项目,File->Import->,接下来是一个bug,如下图:只能选择“General...
分类:
其他好文 时间:
2015-04-14 07:03:58
阅读次数:
164
今天使用Eclipse新建Maven项目时报错,错误日志如下:
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
Could not write artifact lastUpdated st...
分类:
其他好文 时间:
2015-04-14 00:47:16
阅读次数:
261
eclipse中编译时enum出现cannot be resolved to a type错误通常是因为eclise使用的jdk版本的问题。。。默认是使用的是jdk1.5应该去选择成jdk1.6或者更高的版本。项目右键->properties->Java Compiler->Compiler Com...
分类:
编程语言 时间:
2015-04-13 18:10:39
阅读次数:
164
出错代码如下: //1.create HTablePoolHTablePool hp=new HTablePool(con, 1000);//2.get HTable from HTablepool HTable ht=(HTable)hp.getTable(tName);出错原因,主要是版本更.....
分类:
编程语言 时间:
2015-04-13 16:18:48
阅读次数:
288
cannot be cast to javax.servlet.Filter添加provided即可 install -X是什么意思? Unsupported major.minor version 51.0 属性-》Java-》Compiler-》1.6 后来发现是因为:引用的jar包是1.7平台...
分类:
编程语言 时间:
2015-04-13 14:11:58
阅读次数:
163
找到 .setting文件夹内的org.eclipse.wst.common.project.facet.core.xml文件,文件格式大致如下: <?xml version="1.0" encoding="UTF-8"?> <faceted-project> <runtime name="Apache Tomcat v5.5"/> <fixed fac...
分类:
Web程序 时间:
2015-04-13 11:10:43
阅读次数:
146
interface MyConstants { int r =42; int s = 69; int Area; //插入代码 final double circumference = 2 *Math.PI*r ; //Cannot reference a fie...
分类:
编程语言 时间:
2015-04-13 00:15:27
阅读次数:
200