Java “是什么意思?”;类是不可赋值的;?

Java “是什么意思?”;类是不可赋值的;?,java,eclipse,jsf,glassfish,Java,Eclipse,Jsf,Glassfish,我正在使用EclipseHelios、JSF2和GlassFish3.1服务器。。。。。发生了什么,像这样的错误 javax.servlet.ServletException: com.sun.faces.mgbean.ManagedBeanCreationException: Unable to create managed bean contactController. The following problems were found: - The property group

我正在使用EclipseHelios、JSF2和GlassFish3.1服务器。。。。。发生了什么,像这样的错误

javax.servlet.ServletException: com.sun.faces.mgbean.ManagedBeanCreationException: Unable to create managed bean contactController. The following problems were found: - The property groupRepository for managed bean contactController is defined with a property class of ibm.contact.model.ContactRepository, however, this class is not assignable to the property. javax.servlet.ServletException:com.sun.faces.mgbean.ManagedBeanCreationException:无法创建托管bean contactController。发现了以下问题: -托管bean contactController的属性groupRepository是使用ibm.contact.model.ContactRepository的属性类定义的,但是,此类不可分配给该属性。
那个错误的含义是什么以及如何修复它?

我可以试着猜测一下。controller
ContactController
上的属性groupRepository与容器尝试注入到此属性的实例的类型不同,因此不可行。你是通过接口注入的吗?控制器界面中的属性groupRepository的类型是吗?

我在faces-config.xml文件中发现错误。。。。groupRepository已作为其他类型插入。。。。非常感谢。