public enum Direction { L, U, R, D, STOP } 这段代码在我电脑的Eclipse中有报错,但是在别人电脑上没有报错。这是为什么?你的jdk编译环境不是1.5以上的。 最后需要一个分号。。。 public enum Direction { L, U, R, D, STOP; //如果我没记错的话最后是需要一个分号的 } 是可以不要的
我的jdk版本是1.6以上的 我也是jdk1.6 怎么不报错呢。
package com.xuz.datastruct.csdn;
public enum Direction { L, U, R, D, STOP } 有两个地方需要注意: 1.你的工程中引入的jre library[properties->Java Build Path->Libraries] 2.你compile时选择的Java compiler[properties->Java Compiler] 你看看你引人的包的路径! 呵呵,我是java新手,希望能通俗点。
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 52 in the jsp file: /vip_info.jsp ÕË cannot be resolved 49: <table border="1& ......