[英]WELD-001437: Normal scoped bean class javax.faces.component.UIViewRoot is not proxyable because the type is final or it contains a final method
When deploying a dynamic web project with JSF facet to Eclipse+GlassFish, the following error occurs: 将具有JSF构面的动态Web项目部署到Eclipse + GlassFish时,会发生以下错误:
The message says: 消息说:
WELD-001437: Normal scoped bean class javax.faces.component.UIViewRoot is not proxyable because the type is final or it contains a final method public final void javax.faces.component.UIComponent.popComponentFromEL(javax.faces.context.FacesContext) - com.sun.faces.cdi.ViewProducer@1ccfebd3
WELD-001437:正常范围内的bean类javax.faces.component.UIViewRoot是不可代理的,因为类型是final或它包含final方法public final void javax.faces.component.UIComponent.popComponentFromEL(javax.faces.context.FacesContext) -com.sun.faces.cdi.ViewProducer@1ccfebd3
How is this caused and how can I solve it? 这是怎么造成的,我该如何解决? The same codebase and server works fine in Netbeans.
相同的代码库和服务器在Netbeans中可以正常工作。
Because your NetBeans project has been worked successful. 因为您的NetBeans项目已成功完成。 In this case, You should import exist NetBeans project to Eclipse IDE , don't create new Eclipse project.
在这种情况下,您应该将现有的NetBeans项目导入到Eclipse IDE中 ,不要创建新的Eclipse项目。 This make avoid errors or mistakes.
这样可以避免错误或错误。
Turn off all other web application servers, avoid port number collision. 关闭所有其他Web应用程序服务器,避免端口号冲突。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.