Customer customer = new Customer(); 
Customer 它从哪儿来?
请把这个对像贴出来,再帮你看看。

解决方案 »

  1.   

    public class Customer { 
       private  int id;
       private String username; 
       private String password; 
     
    /**
     * @return Returns the id.
     */
    public int getId() {
        return id;
    }
    /**
     * @param id The id to set.
     */
    public void setId(int id) {
        this.id = id;
    }
    /**
     * @return Returns the password.
     */
    public String getPassword() {
        return password;
    }
    /**
     * @param password The password to set.
     */
    public void setPassword(String password) {
        this.password = password;
    }
    /**
     * @return Returns the username.
     */
    public String getUsername() {
        return username;
    }
    /**
     * @param username The username to set.
     */
    public void setUsername(String username) {
        this.username = username;
    }
      
       }可以的话我们qq
    50794638