cancel
Showing results for 
Search instead for 
Did you mean: 

getting import errors while building the Dc for entity services

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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