2012年9月10日

Enumeration cannot be resolved to a variable

摘要: 如果哪天你这么写Enumeration enum;然后Eclipse刮是提示Enumeration cannot be resolved to a variable那就悲剧了,尽管程序可以运行,但是有些功能实现不了。。。。好了,解决方案还是挺简单的,如果你当前使用的是JRE 1.5或者1.6或更高的,简单的可以改为1.4或者以下,再来编译,是不是好了,额为什么会这样的呢?原来从Java5开始,enum已经作为一个关键字,那样写当然会有问题啦,所以另一种改法就是把enum换成别的名字咯 阅读全文
posted @ 2012-09-10 16:07 东云秋雨 阅读(4171) 评论(1) 推荐(1) 编辑

警告: Bootstrap: command "D:\Program files\apache-tomcat-6.0.16\conf\server.xml" does not exist.

摘要: 单独运行tomcat没问题 放在eclipse启动时报2008-11-13 16:02:28 org.apache.catalina.startup.Bootstrap main警告: Bootstrap: command "D:\Program files\apache-tomcat-6.0.16\conf\server.xml" does not exist.tomcatPlugIn是3.2版本 这就是他的一个bug 重新下了个3.21就ok了 多谢大家关心!!结贴了! 阅读全文
posted @ 2012-09-10 13:38 东云秋雨 阅读(2005) 评论(0) 推荐(0) 编辑