OAF: java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.common.WebAppsContext

 


Sometimes you get the below error while running the OAF page from JDeveloper locally:


OAF: java.lang.NoClassDefFoundError: Could not initialize class oracle.apps.fnd.common.WebAppsContext


The reason for this error is an issue with the .dbc file. 

Make sure your .dbc file is up to date and the JDBC Connection string in the .dbc file matches the DB connection you have setup in the JDeveloper.

Comments