While Compiling AMImple.java file

Hi All,
I am very new to OAF and am developed page and imported successfully into the server.
While compiling AMImple.java file it is giving the like
AgingAMImpl.java:30: cannot resolve symbol
symbol : class AgingVOImpl
location: class wnsgs.oracle.apps.ap.buckets.server.AgingAMImpl
public AgingVOImpl getAgingVO1()
^
AgingAMImpl.java:32: cannot resolve symbol
symbol : class AgingVOImpl
location: class wnsgs.oracle.apps.ap.buckets.server.AgingAMImpl
return (AgingVOImpl)findViewObject("AgingVO1");
Plz help me on this issue am very close to my target.
Thanks
Surya

hi gyan,
I have.t implemented the code in the AM but I implemented the code in CO.
I am pasting the AMImple code below
public class AgingAMImpl extends OAApplicationModuleImpl
* This is the default constructor (do not remove)
public AgingAMImpl()
// OAViewObject objAssessmentVO = (OAViewObject)AgingAM.findViewObject("AgingVO1");
* Sample main for debugging Business Components code using the tester.
public static void main(String[] args)
launchTester("wnsgs.oracle.apps.ap.buckets.server", "AgingAMLocal");
* Container's getter for AgingVO1
public OAViewObjectImpl getAgingVO1()
return (OAViewObjectImpl)findViewObject("AgingVO1");
Thanks
Surya

Similar Messages

  • Error IFS 20010 while compiling the java files

    Hello Friends,
    The error "IFS 20010 - Failed to get PropertyResorceBundler".....
    This error is generating while compiling the java files which will connect to the iFS with the username, password and the servicename. this error points to the servicename not found.
    I will be very greatfull for any hits or help.....

    Samir,
    You must include $ORACLE_HOME/ifs1.1/settings in you classpath.
    Thank You
    Brian Ball
    null

  • Error while compiling VO  java files

    I am getting following error while compiling VO java class in my instance
    Exception in thread "main" java.lang.ClassFormatError: com.sun.tools.javac.main.Main (erroneous method access flags)
    at JvClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.handleMethod(int, int, int, int) (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.read_methods() (/usr/lib/libgcj.so.5.0.0)
    at JvClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
    at JvDefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
    at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
    at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
    at JvFindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at JvBytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
    at JvVerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
    at JvPrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at JvWaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    Please advise me to get rid of this one.
    -- Manoj
    Edited by: 856261 on May 4, 2011 12:55 AM

    I created custom VO and files in my local JDev and it is working properly.
    I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
    -- Manoj

  • Error while compiling AMImpl.java at server side

    Hi,
    When I'm trying to compile the .java files at server side I'm getting the following errors, Can some one help me what is the issue?
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Note: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/webui/XxafpEepRebateCreateCO.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/server/PricelistrebateAMImpl.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    javac: invalid flag: /econv2/app/oracle/econv2comn/java/xxafp/oracle/apps/qp/pricelistrebate/picklist/server/DivisionPicklistVOImpl.JAVA
    Thanks,
    Mahesh

    Hi Mahesh
    check if it helps out..
    http://www.rgagnon.com/javadetails/java-0521.html
    AJ

  • Error while compiling QuoteRenderer.java file

    Currently I am working on Quotes customizations. As part of customizations, I need to modify the seeded java file (i.e., $JAVA_TOP/oracle/apps/qot/util/QuoteRenderer.java)
    Since i have only class files, I have decompiled the class file using JAD and modified the code and placed in the same path and tried to compile. Then I am getting the below errors: [I am getting the same errors even if i placed the decompiled file without any modifications]. Can you help in resolving this issue.
    Errors:
    oracle/apps/qot/util/QuoteRenderer.java:16: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.JspWriter;
    ^
    oracle/apps/qot/util/QuoteRenderer.java:17: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.PageContext;
    ^
    oracle/apps/qot/util/QuoteRenderer.java:127: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:664: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:775: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:838: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    private static void partialLoadQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, int i)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:916: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void loadExpandList(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:975: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLines(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s, String s1)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:1652: cannot find symbol
    symbol : class PageContext
    location: class oracle.apps.qot.util.QuoteRenderer
    public static void renderQuoteLineSmry(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse, PageContext pagecontext, String s)
    ^
    oracle/apps/qot/util/QuoteRenderer.java:386: reference to QuoteException is ambiguous, both method QuoteException(java.lang.String,java.lang.Object[]) in oracle.apps.qot.core.QuoteException and method QuoteException(java.lang.String,java.lang.String) in oracle.apps.qot.core.QuoteException match
    throw new QuoteException(s2, null);
    ^
    oracle/apps/qot/util/QuoteRenderer.java:982: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    oracle/apps/qot/util/QuoteRenderer.java:1659: cannot find symbol
    symbol : class JspWriter
    location: class oracle.apps.qot.util.QuoteRenderer
    JspWriter jspwriter = pagecontext.getOut();
    ^
    Note: oracle/apps/qot/util/QuoteRenderer.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.

    Hi,
    You need to add librabry for j2ee-1.4.jar in your classpath this can be found under JSP Runtime library in your jdevhome\jdevbin folder.
    ~Ankul

  • Error While Compiling Seeded Java Files

    Error(12,8): class oracle.apps.gl.jahe.server.FndFlexValidationQualifierEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Error(10,8): class oracle.apps.gl.jahe.server.GlAheDetailRangeEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Error(12,8): class oracle.apps.gl.jahe.server.GlLookupEOImpl should be declared abstract; it does not define method setLastUpdateLogin(oracle.jbo.domain.Number) in class oracle.apps.fnd.framework.server.OAEntityImpl
    Have copied one of the java code that failed? any Suggestions?
    package oracle.apps.gl.jahe.server;
    import oracle.apps.fnd.framework.server.OAEntityImpl;
    import oracle.jbo.server.EntityDefImpl;
    import oracle.jbo.server.AttributeDefImpl;
    import oracle.jbo.domain.Number;
    import oracle.jbo.domain.Date;
    import oracle.jbo.Key;
    // --- File generated by Oracle Business Components for Java.
    public class FndFlexValidationQualifierEOImpl extends OAEntityImpl
    protected static final int FLEXVALUESETID = 0;
    protected static final int IDFLEXAPPLICATIONID = 1;
    protected static final int IDFLEXCODE = 2;
    protected static final int SEGMENTATTRIBUTETYPE = 3;
    protected static final int VALUEATTRIBUTETYPE = 4;
    protected static final int ASSIGNMENTDATE = 5;
    private static oracle.apps.fnd.framework.server.OAEntityDefImpl mDefinitionObject;
    * This is the default constructor (do not remove)
    public FndFlexValidationQualifierEOImpl()
    * Retrieves the definition object for this instance class.
    public static synchronized EntityDefImpl getDefinitionObject()
    if (mDefinitionObject == null)
    mDefinitionObject = (oracle.apps.fnd.framework.server.OAEntityDefImpl)EntityDefImpl.findDefObject("oracle.apps.gl.jahe.server.FndFlexValidationQualifierEO");
    return mDefinitionObject;
    * Gets the attribute value for FlexValueSetId, using the alias name FlexValueSetId
    public Number getFlexValueSetId()
    return (Number)getAttributeInternal(FLEXVALUESETID);
    * Sets <code>value</code> as the attribute value for FlexValueSetId
    public void setFlexValueSetId(Number value)
    setAttributeInternal(FLEXVALUESETID, value);
    * Gets the attribute value for IdFlexApplicationId, using the alias name IdFlexApplicationId
    public Number getIdFlexApplicationId()
    return (Number)getAttributeInternal(IDFLEXAPPLICATIONID);
    * Sets <code>value</code> as the attribute value for IdFlexApplicationId
    public void setIdFlexApplicationId(Number value)
    setAttributeInternal(IDFLEXAPPLICATIONID, value);
    * Gets the attribute value for IdFlexCode, using the alias name IdFlexCode
    public String getIdFlexCode()
    return (String)getAttributeInternal(IDFLEXCODE);
    * Sets <code>value</code> as the attribute value for IdFlexCode
    public void setIdFlexCode(String value)
    setAttributeInternal(IDFLEXCODE, value);
    * Gets the attribute value for SegmentAttributeType, using the alias name SegmentAttributeType
    public String getSegmentAttributeType()
    return (String)getAttributeInternal(SEGMENTATTRIBUTETYPE);
    * Sets <code>value</code> as the attribute value for SegmentAttributeType
    public void setSegmentAttributeType(String value)
    setAttributeInternal(SEGMENTATTRIBUTETYPE, value);
    * Gets the attribute value for ValueAttributeType, using the alias name ValueAttributeType
    public String getValueAttributeType()
    return (String)getAttributeInternal(VALUEATTRIBUTETYPE);
    * Sets <code>value</code> as the attribute value for ValueAttributeType
    public void setValueAttributeType(String value)
    setAttributeInternal(VALUEATTRIBUTETYPE, value);
    * Gets the attribute value for AssignmentDate, using the alias name AssignmentDate
    public Date getAssignmentDate()
    return (Date)getAttributeInternal(ASSIGNMENTDATE);
    * Sets <code>value</code> as the attribute value for AssignmentDate
    public void setAssignmentDate(Date value)
    setAttributeInternal(ASSIGNMENTDATE, value);
    // Generated method. Do not modify.
    protected Object getAttrInvokeAccessor(int index, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case FLEXVALUESETID:
    return getFlexValueSetId();
    case IDFLEXAPPLICATIONID:
    return getIdFlexApplicationId();
    case IDFLEXCODE:
    return getIdFlexCode();
    case SEGMENTATTRIBUTETYPE:
    return getSegmentAttributeType();
    case VALUEATTRIBUTETYPE:
    return getValueAttributeType();
    case ASSIGNMENTDATE:
    return getAssignmentDate();
    default:
    return super.getAttrInvokeAccessor(index, attrDef);
    // Generated method. Do not modify.
    protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception
    switch (index)
    case FLEXVALUESETID:
    setFlexValueSetId((Number)value);
    return;
    case IDFLEXAPPLICATIONID:
    setIdFlexApplicationId((Number)value);
    return;
    case IDFLEXCODE:
    setIdFlexCode((String)value);
    return;
    case SEGMENTATTRIBUTETYPE:
    setSegmentAttributeType((String)value);
    return;
    case VALUEATTRIBUTETYPE:
    setValueAttributeType((String)value);
    return;
    case ASSIGNMENTDATE:
    setAssignmentDate((Date)value);
    return;
    default:
    super.setAttrInvokeAccessor(index, value, attrDef);
    return;
    * Creates a Key object based on given key constituents
    public static Key createPrimaryKey(Number flexValueSetId, Number idFlexApplicationId, String idFlexCode, String segmentAttributeType, String valueAttributeType)
    return new Key(new Object[] {flexValueSetId, idFlexApplicationId, idFlexCode, segmentAttributeType, valueAttributeType});
    }

    Common error, you need to add LASTUPDATELOGIN definitino to your EO...
    protected static final int FLEXVALUESETID = 0;
    protected static final int IDFLEXAPPLICATIONID = 1;
    protected static final int IDFLEXCODE = 2;
    protected static final int SEGMENTATTRIBUTETYPE = 3;
    protected static final int VALUEATTRIBUTETYPE = 4;
    protected static final int ASSIGNMENTDATE = 5;
    protected static final int LASTUPDATELOGIN = 6;
    public Number getLastUpdateLogin()
    return (Number)getAttributeInternal(LASTUPDATELOGIN);
    public void setLastUpdateLogin(Number value)
    setAttributeInternal(LASTUPDATELOGIN, value);
    To protected Object getAttrInvokeAccessor...
    case LASTUPDATELOGIN:
    return getLastUpdateLogin();
    To protected void setAttrInvokeAccessor ...
    case LASTUPDATELOGIN:
    setLastUpdateLogin((Number)value);
    return;
    This should resolve your problem.
    Edited by: sreese on May 15, 2009 4:32 PM

  • Error while compiling PricingUserExits.Java on IPC Server

    Hi,
    While compiling PricingUserExits.Java on IPC Server, I am getting "cannot resolve symbol" error for class object.
    Can anyone reply back procedure of how to complie this Java Program and neccessary steps....
    Thank you for support.
    Regards,
    Sameer

    Dear Andrew,
    Thanks for reply.
    As per our understanding, after compilation of java file we get class file.
    While compilation we are getting following error:
    On DOS Prompt:
    E:\usr\sap\ipc\lib\userexits>javac PricingUserExits.java
    PricingUserExits.java:172: cannot resolve symbol
    symbol  : class FormulaNotImplementedException
    location: class userexits.PricingUserExits
                                    throw new FormulaNotImplementedException(prItem,
    "group key formula", keyFormNo);
                                              ^
    PricingUserExits.java:195: cannot resolve symbol
    symbol  : class FormulaNotImplementedException
    location: class userexits.PricingUserExits
                                    throw new FormulaNotImplementedException(prItem,
    "copy formula", copyFormulaNo);
                                              ^
    Please reply back which IPC Java libraries are required and what is the path.
    If you have any documentation related to it then please email it to [email protected]
    Regards,
    Sameer

  • Error when compiling the Java file

    Hi I have created a jsp program that uses the java files. i have jboss installed. when i compile the java file it gives compilation error saying that javax.servlet.jsp.tagext.TagSupport not found.
    Although when i installed the Tomcat seperately i did not get any compilation error. can anyone tell me how to get out of this problem when Tomcat is not installed seperately.
    Thanks,
    Rakesh

    Hi
    I think these errors are due to incorrect classpath settings.While compiling HelloHome ..Helloremote must be in classpath.Also if u have packaged them u must be in the package root during compilation ie if uor remote & home interface is in a package called "ejbserver"
    then while compiling u must be in the folder above ejbserver & compile command is
    javac .\ejbserver\*.java
    If uor home & remote interface is in different folder check wheather u have imported the remote interface inside home interface file.

  • Error while compiling hellowbigdataworld.java

    kvlite started successfully ; i tested by pinging from different command prompt.
    while try to compile the example program hellowbigdataworld.java getting error.
    package oracle.kv does not exist

    I created custom VO and files in my local JDev and it is working properly.
    I wanna migrate it to actual instance.So my question is is it mandatory to compile custom java file in application server or i can use same which i used in my local machine(windows)?
    -- Manoj

  • How to compile a java file which is in memory?

    how to compile a java file which is in memory?
    such as:
    String s="class MyClass {....}";
    how to compile the string?
    thx

    come on ...That was a perfectly valid solution.
    Do you know how to call the sun.* compiler? If not then search the forums for it. If that interface still exists (which it might not in newer versions) you then will create a string stream from your class and pass it to that.

  • Urgent! Pls help me! Can't compile any *.java files

    I am a new user to Java2SDK. I am using Win2K sever and I have installed Java2SDK1.4.0 in D drive. When I compile any *.java files, a message " 'javac' is not recognized as an internal or external command, operable program or batch file" appears. How can I solve this problem?
    Please help me. I am busy with my homework. Thank you very much.

    In your PATH variable include %JAVA_HOME%\bin;
    For example:
    C:\jdk1.4\bin;

  • How to compile a java file in J9 for windows mobile 5.0

    I have downloaded J9 for windows mobile 5.0 and need help on how to compile a java file.

    You can compile your source code using J2SE ;)
    may be this is important for you:
    http://awareness.ics.uci.edu/~rsilvafi/pocketPC/index.
    html
    Regards!!!Actually i am using some eSWT related classes also.. so is there any way to compile from the J9 environment using J9 console..

  • How to compile a java file in a java program

    Hi,
    I don't know to compile a java file in a java class.
    Could somebody help me?
    Thanks.

    if ur using windows...
    goto ur directory and then type
    javac FILENAME.java
    and ur done!

  • Trying to compile a .java file from another .java file

    Hello,
    I'm trying to compile a .java file from another .java file using Runtime.exec...
    String c[]=new String[3];
    c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
    Process p=Runtime.exec(c);
    If anyone can help me in atleast getting the command prompt when Runtime.exec("cmd.exe") is executed...that would be great...I tried out notepad.exe, calc, explorer instead of cmd.exe...all the commands display their respective windows..except cmd.exe...the command prompt doesnt appear...
    Please help me ASAP....
    Thanks for your help in advance...
    Regards.
    AKhila.

    try this. ur code will be compliled and will get .class file. but console won't appear. is it a must for u?
    public class Exec{
         public static void main(String a[]) throws Exception{
              String c[]=new String[3];
              c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
              Process p=Runtime.getRuntime().exec(c);
              // or Runtime.getRuntime().exec("javac Hello.java");

  • Compiling one java file within another java program

    Hi all,
    I want to compile one java file say one.java within a java program say second.java.. i simply have no idea as how to proceed ..pls help!!

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=dynamically+compile&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
    Just to give you an idea.

Maybe you are looking for

  • Problems calling remote site

    I have a problem making a call from Isle of Man that has a 2900 router running CME 8.6 and a remote site Singapore that is on a UCS560, we have created a site to site VPN and can ping from either phone vlan to either phone vlan interfaces. The proble

  • Address Book creating multiple duplicates!!

    My address book keeps creating multiple duplicates for the names in my address book.  I have the wireless sync off and I also have no duplicates allowed setting off, but it still creates them.  What is going on with my blackberry?

  • Flash Player MP3

    Hello, When I use the following code in a standalone flash app its works fine. When I export it onto my computer, it works fine. When I publish it to the internet the XML works... but the music no longer plays. Why is this and how can I fix this? Man

  • Verifying SLoc Field is filled during PO Create (ME21N)

    Hi All, We have a requirement to be able to ensure that the Storage Location field is filled when a Purchase Order is created - does anyone know of any config/functionality which may be able to fulfil this requirement? Thanks, Ravelle PS - I've had a

  • Can I Use Swing Components in a JSP Page

    Hi, Can I use Swing Componnents in a JSP Page.If so,Can anybody provide with a sample code. Thanks.