oracle JBO-25002:此错误的原因是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7925570/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
JBO-25002: What is the reason for this error?
提问by Sahar Hassan
I was running my project and was checking recently modified module. On click of the Menu tab it was giving me "java.lang.UnsupportedOperationException" and when I checked in the log I could find the following description:
我正在运行我的项目并检查最近修改的模块。单击菜单选项卡时,它给了我“java.lang.UnsupportedOperationException”,当我检查日志时,我可以找到以下描述:
JBO-25002: Definition com.project.view.pageDefs.pages_per_SearchPageDef
of type Form Binding Definition not found
oracle.jbo.NoDefException: JBO-25002: Definition com.project.view.pageDefs.pages_per_SearchPageDef
of type Form Binding Definition not found
What could be the problem?
可能是什么问题呢?
回答by APC
You say you were checking "recently modified module". What modification did you make? Was it something which invalidated the business component definition? The documentationsays this about JBO-25002:
你说你正在检查“最近修改的模块”。你做了什么修改?它是否使业务组件定义无效?该文件说,这大约JBO-25002:
"Provide a correct name for the business component definition. If the definition is not in the classpath, you must include it there. Names are of the format
myProjectPackage.BusinessPackage.BusinessComponent
. This error can also occur if there is a case conflict, as when the database expects "DEPTNO" and receives "Deptno" instead."
“为业务组件定义提供正确的名称。如果定义不在类路径中,则必须将其包含在类路径中。名称的格式为
myProjectPackage.BusinessPackage.BusinessComponent
。如果存在大小写冲突,也可能发生此错误,如数据库所期望的那样” DEPTNO”,而是接收“Deptno”。”
回答by Thanks4Playing
I got this error after changing a query in my View Object. The change removed 3 columns but in the PageDef file the tree binding retained the old column names. I manually removed those column names to fix the problem.
在我的视图对象中更改查询后出现此错误。更改删除了 3 列,但在 PageDef 文件中,树绑定保留了旧列名称。我手动删除了这些列名称以解决问题。