Wednesday, January 16, 2013

OAF - Errors Encountered - Could not create Java class

JDeveloper version "Patch 6908968 10G JDEVELOPER WITH OA EXTENSION ARU FOR R12 RUP4"


Getting error "oracle.apps.fnd.framework.OAException: Could not create Java class: (xxt.oracle.apps.fnd.framework.toolbox.tutorial.webui.HelloWorldMainCO) associated with region: (MainRN). This is probably because the class name is wrong or not included in project"

While running ‘test_fwktutorial.jsp’ from ‘Tutorial’ project, when clicking on Hello, World, this error was appearing.

Resolution:
I modified ‘oracle\apps\fnd\framework\toolbox\tutorial\webui\HelloWorldMainCO.java’ class from “package oracle.apps.fnd.framework.toolbox.tutorial.webui;” to “package xxt.oracle.apps.fnd.framework.toolbox.tutorial.webui;”. Saved project and rebuild. Ran the same jsp file and then it was fine.