Unable to move DataBindings.cpx and DataControls.dcx files
Hi All,
I am using JDev. 11.1.1.5.0.
In my project, I need to move DataBindings.cpx and DataControls.dcx files to another location. So, I used Refactor -> Move from the JDev Menu to move these files. After that, I checked the Package in these files, and I also checked the adfm.xml file. All are updated with the new package name. But, when I tried to run the application, it gives the following exception. It's like it's still looking for these files in the old path:
oracle.jbo.NoDefException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25002
at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2772)
at oracle.adf.model.binding.DCDataControlConfigDef.findDefObject(DCDataControlConfigDef.java:32)
at oracle.adf.model.binding.DCDataControlDef.findDefObject(DCDataControlDef.java:377)
at oracle.adf.model.binding.DCDataControlReference.<init>(DCDataControlReference.java:55)
at oracle.jbo.uicli.mom.JUApplicationDefImpl.loadDataControlUsage(JUApplicationDefImpl.java:1137)
Truncated. see log file for complete stacktrace
Caused By: oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "*/OLD_PATH/DataControls.dcx*"
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1279)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1157)
at oracle.jbo.mom.DefinitionManager.findDefObjectUsingMetadataObject(DefinitionManager.java:2728)
Truncated. see log file for complete stacktrace
>
I already cleaned the application and I also cleaned the cache under system folder. But it still shows this exception.
Could you please help me with this issue? Which place do I need to change for these files? Thanks a lot.
Best Regards,
cmoster