26 July 2012

Portal 404 Error in browser but not in console

Portal 404 Error in browser but not in console

While running the application in browser it would throw 404 error but no stack trace will be in server console. The following message will be displayed.

<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]

In this case, the fix is as below:
The path of the project may have spaces in their folder names. JDeveloper has some issues with spaces in the path... So, remove them and then run the application. It will solve the issue.

Regards,
Satya.

1 comment :