
异常
volturi
这个作者很懒,什么都没留下…
展开
-
The method * from the type * is not visible
一提到访问控制符protected,即使是初学者一般都会很自信的认为自己在这方面的理解没有问题。那好,我们提一个问题出来看看…问题提出: 请看下面两端代码,其中包B中的猫和鼠都继承了动物类。package testa; public class Animal { protected void crowl(String c){转载 2012-09-17 17:07:47 · 21040 阅读 · 3 评论 -
Missing requirement: Maven Integration for Eclipse
在eclipse3.6上安装m2eclipse插件时有可能出现以下错误: Cannot complete the install because one or more required items could not be found. Software being installed: Maven Integration for Eclipse (Required) 0.12.1.转载 2013-04-12 11:22:09 · 2342 阅读 · 0 评论 -
maven-dependency-plugin (goals "copy-dependencies","unpack") is not supported by m2e
解决办法:在plugins之前添加如下pluginManagement,二者前后顺序如下: org.eclipse.m2e lifecycle-mapping 1.0.0 org.apache.maven.plugins转载 2013-02-22 15:39:58 · 12255 阅读 · 0 评论 -
M2E插件maven-dependency-plugin问题
问题: maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e. 这次换了个64位全新笔记本,装了最新的Eclipse Indigo版本(v3.7),Maven 3.04,和M2E插件。从SVN服务器上检下来正在开发的项目,出现了红叉,pom.xml报错如下错误:mave转载 2013-01-22 16:27:42 · 14631 阅读 · 1 评论 -
valgrind显示“x blocks are still reachable in loss record x of x”
用valgrind检测内存泄露的时候,报的都是x blocks are still reachable in loss record x of x一直不明白这是什么错误,然后上网查了一下,受益匪浅。明白了内存泄露到底是怎么一回事情。There is more than one way to define "memory leak". In particular, there are转载 2013-01-17 15:06:14 · 11554 阅读 · 0 评论 -
pom文件提示:Missing artifact
更新maven工程之后,发现pom.xml文件在如下依赖处报错:com.company.airair-client1.0.1报错信息为:Missing artifact com.company.air:air-client:jar:1.0.1到当前用户的.m2目录下查看,jar文件已经正常下载了。解决方法:1、到报错的.m2的对应目录下,检查发现原创 2012-06-25 14:37:35 · 54272 阅读 · 3 评论 -
shell-init: error retrieving current directory
用staf(ibm分布式测试框架,可远程执行shell命令)远程调用命令:sed -i "s/key=.*$/key=value/" tool.conf && grep "key=.*$" tool.conf|awk -F"=" '{print $2}' 出现如下错误:shell-init: error retrieving current directory: getcwd:原创 2012-05-08 10:43:07 · 11592 阅读 · 0 评论 -
staf更改环境变量
staf是IBM推出的开源分布式测试框架,广泛应用于分布式系统的测试中。在实际使用中,遇到两个诡异的问题,详情如下:问题一:配置好机器之间信任关系之后,在A机器用staf命令远程到B机器,查看B机器的LD_LIBRARY_PATH环境变量,命令行如下(假设B机器IP为192.168.1.2):staf 192.168.1.2 process start shell command "e原创 2012-11-15 17:36:20 · 1629 阅读 · 0 评论 -
There are unfinished transactions remaining. You might consider running yum-complete-transaction...
yum命令安装程序时,总是出现如下警告:There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.意思是有未完成的yum事务,建议先运行yum-complete-transaction命令清除。消除警告步骤如下:原创 2012-08-30 17:19:02 · 5238 阅读 · 0 评论 -
Project ID: null:jersey-server:jar:null
maven工程如果有jersey依赖,编译时经常遇到如下问题:[ERROR] BUILD ERROR[INFO] ------------------------------------------------------------------------[INFO] Error building POM (may not be this project's POM).Proje原创 2012-06-13 11:05:53 · 2719 阅读 · 0 评论 -
securecrt 数据库里没有找到防火墙
使用SecureCRT中文版,登录某台服务器时,每次都弹出如下警告:原因:中文版汉化时有问题,解决方法如下:打开SecureCRT,依次打开:选项->全局选项->常规->配置文件夹,找到配置文件放置目录,打开。在该目录下有个Sessions文件夹,里面有你曾经登陆过的机器信息,找到告警的那台机器名.ini,里面有个选项:S:"Firewall Name"=无更改为:原创 2012-06-07 10:37:42 · 3683 阅读 · 1 评论 -
yum卡在Running Transaction Test
真是奇怪,yum今天出了怪问题。一直卡在Running Transaction Testde,然后就按啥都不好使了。有点类似这样:…Running rpm_check_debug Running Transaction Test#yum clean all 是没有用滴,谷歌一下,这个帖子给我启示:http://forums.fedoraforum.org转载 2014-10-23 11:17:02 · 7806 阅读 · 0 评论