Xpages - Bean 不存在错误 [英] Xpages - Bean does not exist error

查看:49
本文介绍了Xpages - Bean 不存在错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用扩展库提供的名称选择器.由于我需要检索 Active Directory 的名称而不是 names.nsf,因此我使用 beanNamePicker 从 Active Directory 获取名称.它工作正常,但有时我会收到以下错误.如果我在设计器中刷新数据库,错误就会消失.关于如何在不刷新的情况下避免此错误的任何想法?

I am using Name picker provided by extension library. Since I need to retrieve names for active directory instead of names.nsf, I used beanNamePicker to get names from Active Directory. It is working fine, but sometime I am getting the below error. The error goes off if I refresh the database in designer. Any idea on how to avoid this error without refresh?

com.ibm.xsp.FacesExceptionEx: !BeanNamePickerData.Bean0doesnotexist!
!BeanNamePickerData.Bean0doesnotexist!

Domino 版本:8.5.3 UP1.

Domino Version : 8.5.3 UP1.

推荐答案

您的 bean 的代码在 NSF 中的哪个位置,您使用的是哪个版本的 DDE 8.5.3?8.5.3 的早期版本中的 Java 设计元素存在问题,导致这种行为使它们脱离构建路径.我认为它们已在 FP3 中修复.

Where in the NSF is the code for your bean, and which version of DDE 8.5.3 are you using? There were problems with the Java design element in early versions of 8.5.3 which caused this behaviour of making them fall out of the build path. I think they were fixed in FP3.

您可以使用最新版本的 Designer 彻底解决问题.您仍然可以将 xsp.properties 中的最低支持版本设置为 8.5.3,并确信您不会意外使用任何新功能.

You can resolve the problem completely by using the latest version of Designer. You can still set the minimum supported release in xsp.properties to 8.5.3 with confidence that you're not accidentally using any new functionality.

这篇关于Xpages - Bean 不存在错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆