Home » Developer & Programmer » JDeveloper, Java & XML » Class not found in class in OAF
Class not found in class in OAF [message #614820] Tue, 27 May 2014 10:21
mist598
Messages: 1195
Registered: February 2013
Location: Hyderabad
Senior Member
Hi all,

Please help me

Error(24,5): Class form Module not found in class mypackgae ABCExample_1
Error(24,26): Class form Module not found in class mypackgae ABCExample_1
Error(32,5): Class block not found in class mypackgae ABCExample_1
Error(32,24): Class block not found in class mypackgae ABCExample_1
Error(40,5): Class item not found in class mypackgae ABCExample_1
Error(40,22): Class item not found in class mypackgae ABCExample_1
Error(48,5): Class canvas not found in class mypackgae ABCExample_1
Error(40,22): Class canvas not found in class mypackgae ABCExample_1
Error(40,22):Variable ABC not found in  class mypackgae ABCExample_1
 
 
//Using ABC to create Oracle forms at runtime
 
 
package mypackage;
 
 
import oracle.forms.jdapi.*;
import java.io.*;
 
 
public class ABCExample_1
{
  public static void main(String[] args)
  {
    String formname="";
    String blockname="";
    String itemname="";
    String cnvname="";
    BufferedReader br;
   
    System.out.print("Enter your form name and press Enter: ");
    br = new BufferedReader(new InputStreamReader(System.in));
    try {
        formname = br.readLine();
    } catch (IOException e) {}
   
    FormModule fmd = new FormModule(formname);
   
    System.out.print("Enter your block name and press Enter: ");
    br = new BufferedReader(new InputStreamReader(System.in));
    try {
        blockname = br.readLine();
    } catch (IOException e) {}
   
    Block blockA = new Block(fmd, blockname);
       
    System.out.print("Enter your item name and press Enter: ");
    br = new BufferedReader(new InputStreamReader(System.in));
    try {
        itemname = br.readLine();
    } catch (IOException e) {}
   
    Item itemA = new Item(blockA, itemname);
 
 
    System.out.print("Enter your canvas name and press Enter: ");
    br = new BufferedReader(new InputStreamReader(System.in));
    try {
        cnvname = br.readLine();
    } catch (IOException e) {}
   
    Canvas cnv = new Canvas(fmd, cnvname);
    itemA.setCanvasObject(cnv); 
    fmd.save(formname+".fmb");
    fmd.destroy();
    Jdapi.shutdown();
  }
}
Previous Topic: JDeveloper - Problem with BSSV Proxy & classes
Next Topic: xml data in columns
Goto Forum:
  


Current Time: Thu Mar 28 20:56:15 CDT 2024