項目中遇到的問題

  •  以下錯誤:
  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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章