Eclipse 继续在mac上接收javax.el.PropertyNotFoundException

Eclipse 继续在mac上接收javax.el.PropertyNotFoundException,eclipse,macos,jsf,glassfish,el,Eclipse,Macos,Jsf,Glassfish,El,我试图更新我的类以添加一个名为email的新属性,当我测试它时,我遇到了以下错误: javax.el.PropertyNotFoundException: /pagename.xhtml @30,121 value="#{department.department.email}": The class 'classaddress.Department' does not have the property 'email'. 但是课堂上一切都很好。我使用getter和setter,尝试清理gla

我试图更新我的类以添加一个名为email的新属性,当我测试它时,我遇到了以下错误:

javax.el.PropertyNotFoundException: /pagename.xhtml @30,121 value="#{department.department.email}": The class 'classaddress.Department' does not have the property 'email'.
但是课堂上一切都很好。我使用getter和setter,尝试清理glassfish上生成的所有文件,重启电脑,祈祷等等。。什么都不管用

我用的是MacMini和Glassfish、Eclipse和Postgres

我在其他电脑上做了同样的改变,一切都很好

公正信息:

财产申报:

@Column(name = "email", unique = true)
private String email;
接受者和接受者:

/**
 * @return the email
 */
public String getEmail() {
    return email;
}

/**
 * @param email the email to set
 */
public void setEmail(String email) {
    this.email = email;
}

我没有使用eclipse插件来实现这一点。我已经手动清理了所有东西。你确定你用的是class
classaddress.Department
?非常确定。当然,名字classaddress是用来保护信息的符号,但我肯定使用了正确的类。就像我说的,我在其他电脑上编写代码,一切都很完美。然后,我将相同的代码发送到OSX,错误持续存在。我对.xhtml文件和Department类中引用电子邮件的行进行了注释。但错误仍在继续(但不引用.xhtml文件)。我认为这是glassfish缓存的问题。有人吗?是的!听起来像是缓存问题