- 以下错误:
- org.apache.jasper.JasperException:
- javax.servlet.ServletException:
- java.lang.Error:
- Unresolved compilation problems:
- Syntax error on token "Invalid Character", invalid AssignmentOperator Cannot make a static reference to the non-static method setId(int) from the type User
- Type mismatch: cannot convert from void to User
由以下一段代码调用函数错误导致:
- u.setId(rs.getInt("id"));
- 在eclipse中使用svn详见http://iswift.iteye.com/blog/1489873