问题描述 Hibernate实现注册,注册一个账号后得重启服务器才能注册第二个,不然报错 public class RegisterAction extends ActionSupport{ private static final long serialVersionUID = 1L; User user = new User(); public User getUser() { return user; } public void setUser(User user) { this.user