Getting runtime error after deploying an ADF application to OC4J

(Doc ID 356925.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JDeveloper - Version 9.0.5.1.0 to 10.1.3.0.4 [Release AS10g to Oracle10g]
Oracle Containers for J2EE - Version 9.0.4.0.0 to 10.1.3.0.0 [Release AS10g to AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 16-Sep-2013***
Oracle Containers for J2EE - Version: 9.0.4.0.0 to 10.1.3.0.0
This problem can occur on any platform.

Symptoms

When a J2EE application is redeployed from JDeveloper to standalone OC4J the following error is displayed in the browser until OC4J is restarted:

500 Internal Server Error
java.lang.NoClassDefFoundError: oracle/jbo/mom/PropertyNameValueDef
at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getUIXLifeCycle(DefaultStrutsPageLifecycleFactory.java:44)
at oracle.adf.controller.struts.actions.DefaultStrutsPageLifecycleFactory.getPageLifecycle(DefaultStrutsPageLifecycleFactory.java:24)
at oracle.adf.controller.struts.actions.DataActionMapping.freeze(DataActionMapping.java:212)
at org.apache.struts.config.impl.ModuleConfigImpl.freeze(ModuleConfigImpl.java:503)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:474)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
...etc, etc

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms