•  以下错误:
  1. org.apache.jasper.JasperException:  
  2. javax.servlet.ServletException:  
  3. java.lang.Error:  
  4. Unresolved compilation problems:     
  5. Syntax error on token "Invalid Character", invalid AssignmentOperator   Cannot make a static reference to the non-static method setId(int) from the type User    
  6. Type mismatch: cannot convert from void to User 

由以下一段代码调用函数错误导致:

  1. u.setId(rs.getInt("id")); 
  •  在eclipse中使用svn详见http://iswift.iteye.com/blog/1489873