今天启动项目,在调用方法时突然报出一个com.sun.proxy.$proxy107 cannot be cast to的异常,因为距上次正常运行代码完全没有改动过,所以基本排除代码错误的原因,google了下,说是转换的目标对象必须是接口而不能是类,但我的本身就是接口啊。又按照其它说法检查jar包,有无
最近虚拟机装了个RedHat Enterprise Server 5,用惯了Ubuntu,觉得不太适应。 当在终端执行sudo命令时,系统提示“cuser is not in the sudoers file”: $ sudo ls Password: cuser is not in the sudoers file.? This incident will be reported. 其实就是没有权限进行sudo
今天更新项目,在用jboss启动项目时突然报出了 XML document structures must start and end within the same entity.的错误,项目是spring + mybatis配置,查看报错的xml文件,发现文件本身并没有错误,但是有很多include标签添加了其它的xml,一个个排查,发现用 <![CDAT