我刷新了XPages应用程序中的一些java类,方法是从其他数据库粘贴它们。在那之后,我总是在任何页面上出错:
com.ibm.xsp.FacesExceptionEx: Bean livescripts.core.ui.beans.BannerUtilLinksList does not exist
这个bean在AppLayout上,在其他应用中工作
<xe:this.bannerUtilityLinks>
<xe:beanTreeNode loaded="true"
nodeBean="livescripts.core.ui.beans.BannerUtilLinksList">
</xe:beanTreeNode>
</xe:this.bannerUtilityLinks>
全栈跟踪:
com.ibm.xsp.FacesExceptionEx: Bean livescripts.core.ui.beans.BannerUtilLinksList does not exist
at com.ibm.xsp.extlib.tree.complex.BeanTreeNode.getBeanInstance(BeanTreeNode.java:85)
at com.ibm.xsp.extlib.tree.complex.BeanTreeNode.getType(BeanTreeNode.java:157)
at com.ibm.xsp.extlib.tree.impl.TreeUtil$ListIterator.moveToNext(TreeUtil.java:93)
at com.ibm.xsp.extlib.tree.impl.TreeUtil$ListIterator.<init>(TreeUtil.java:63)
at com.ibm.xsp.extlib.tree.impl.TreeUtil.getIterator(TreeUtil.java:113)
at com.ibm.xsp.extlib.tree.impl.TreeImpl.iterateChildren(TreeImpl.java:60)
at com.ibm.xsp.extlib.tree.impl.AbstractTreeContext$NodeContextImpl.iterateChildren(AbstractTreeContext.java:83)
at com.ibm.xsp.extlib.renderkit.html_extended.outline.tree.AbstractTreeRenderer.renderChildren(AbstractTreeRenderer.java:218)
at com.ibm.xsp.extlib.renderkit.html_extended.outline.tree.AbstractTreeRenderer.render(AbstractTreeRenderer.java:195)
at com.ibm.xsp.extlib.renderkit.html_extended.outline.tree.AbstractTreeRenderer.render(AbstractTreeRenderer.java:185)
at com.ibm.xsp.theme.bootstrap.renderkit.html.extlib.layout.ResponsiveAppLayoutRenderer.writeBannerUtilityLinks(ResponsiveAppLayoutRenderer.java:404)
at com.ibm.xsp.theme.bootstrap.renderkit.html.extlib.layout.ResponsiveAppLayoutRenderer.writeBannerContent(ResponsiveAppLayoutRenderer.java:307)
at com.ibm.xsp.theme.bootstrap.renderkit.html.extlib.layout.ResponsiveAppLayoutRenderer.writeBanner(ResponsiveAppLayoutRenderer.java:271)
at com.ibm.xsp.theme.bootstrap.renderkit.html.extlib.layout.ResponsiveAppLayoutRenderer.writeMainFrame(ResponsiveAppLayoutRenderer.java:166)
at com.ibm.xsp.theme.bootstrap.renderkit.html.extlib.layout.ResponsiveAppLayoutRenderer.encodeBegin(ResponsiveAppLayoutRenderer.java:1028)
at com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeBegin(ReadOnlyAdapterRenderer.java:146)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:956)
at com.ibm.xsp.extlib.component.layout.UIVarPublisherBase.encodeBegin(UIVarPublisherBase.java:112)
at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:842)
at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:853)
at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:853)
at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:853)
at com.ibm.xsp.util.FacesUtil.renderComponent(FacesUtil.java:853)
at com.ibm.xsp.component.UIViewRootEx._renderView(UIViewRootEx.java:1317)
at com.ibm.xsp.component.UIViewRootEx.renderView(UIViewRootEx.java:1255)
at com.ibm.xsp.application.ViewHandlerExImpl.doRender(ViewHandlerExImpl.java:651)
at com.ibm.xsp.application.ViewHandlerExImpl._renderView(ViewHandlerExImpl.java:321)
at com.ibm.xsp.application.ViewHandlerExImpl.renderView(ViewHandlerExImpl.java:336)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:103)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:210)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:120)
at com.ibm.xsp.controller.FacesControllerImpl.render(FacesControllerImpl.java:270)
at com.ibm.xsp.webapp.FacesServlet.renderFacesPage(FacesServlet.java:606)
at com.ibm.xsp.webapp.FacesServlet.renderErrorPage(FacesServlet.java:501)
at com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:183)
at com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:138)
at com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1335)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:853)
at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)
at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)
at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1319)
at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:662)
at com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:482)
at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
DDE版本:9.0.1FP2 SHF63版。我已经尝试过的:
- 再次删除并复制粘贴代码
- 重命名/移动类
- 将其作为ManagedBean添加到faces配置中(在这里我得到ClassNotFoundException)
- 当然,清洁/重建项目
我升级了一些其他类,检查了自定义控件等。但忘记了更新faces-config。仍然这样的错误太奇怪了,因为BannerUtilLinksList类不是面向配置的。