Skip to Content
author's profile photo Former Member
Former Member

getting import errors while building the Dc for entity services

Hi all,

I am trying to create entity services in CAS and following the following help document from help.

http://help.sap.com/saphelp_nw04s/helpdata/en/05/3a0741b5b7ee6fe10000000a1550b0/frameset.htm

But While building I am getting following imports errors:

Error:

com.sap.caf.rt.bol.IPersistentBusinessObject cannot be resolved or is not a valid superinterface

com.sap.caf.rt.services.eventing cannot be resolved (or is not a valid type) for the field CarJDO

com.sap.caf.rt.bol.da.jdo.JDODADataAccessService cannot be resolved or is not a type

changedData cannot be resolved ,CarJDO.java

com.sap.caf.rt.bol.da.DataAccessFactory.DATASOURCE_LOCAL_DA cannot be resolved CarJDO.java

The method removeACL(String, String) is undefined for the type CAFPermission CarServiceBean.java

loadByCustomKeys(Car) is undefined for the type IDataAccessService CarServiceBean.java

Can anyone help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jun 10, 2008 at 01:18 PM

    Hi, Ritu.

    This could be the result of an incomplete IDE installation. So you may try to reinstall your it.

    If you still experience the problem afterwards then post the whole build log of the ejbmodule DC (i.e. not the errors reported in the Java editor, but the result of an attempted application build).

    Vlado

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 01:39 PM

    Hi Ritu,

    The problem is due to the version of NWDS you are working on. If its an older version like 7.0.0 please try to upgrade it to 7.0.9. With this the problem would be solved.

    You can try by deleting only the .metadata folder in the following path

    D:\Documents and Settings\user\Documents\SAP\workspace

    If still the problem exists the only thing you can do is reinstalling the IDE. before reinstalling it be sure that you completely delete all the workspace, .dtr and .dtc folders.

    All the best...award if useful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 04:37 AM

    Ya I am able to build the DC component now by uninstalling and installing the NWDS again

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 04:37 AM

    Ya I am able to build the DC component now by uninstalling and installing the NWDS again

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.