cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to build application

Former Member
0 Kudos

Hi,

I am unable to build my application in NWDS7.1.This application is also using CAF GP dependency for connectivity between different DCs.

The following error is shown on build:

orderhandover_wd: Build failed for bhi.com/orderhandover_wd(MyComponents) in variant "default": Check for used DCs failed: Used component not found: sap.com/com.sap.security.api.sda. DC not found in DC syncdb.

What is the cause for this error?

Thanks

Sheba

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Welcome to SDN Sheba!

You need to add the com.sap.security.api.sda. DC to your DC as used DC.

Open the DC

Open DC Metadata

Right click on the UsedDCs

Select Add Used DC

Browse to SAP-JEE

Select com.sap.security.api.sda

Regards,

Siva

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Sheba,

First search----com.sap.security.api.sda,if you found ,you can get the path where it is.

Then you can add in to your project.

Else you've to download the com.sap.security.api.sda.

Regards

Sreedhar.

Former Member
0 Kudos

Hi friends,

Thank you for all your replies.

But my problem is not yet solved.

When I tried to Add DC dependency, i encountered a problem like the one given below:

Getting metadata of 'com.sap.security.api.sda (ACTIVE)' ...

DC definition for ENGINEAPI:sap.com/com.sap.security.api.sda cannot be found neither locally nor via archive provider.

DC definition for ENGINEAPI:sap.com/com.sap.security.api.sda cannot be found neither locally nor via archive provider.

The exception was caught in the attached stack.

com.sap.ide.dii05.util.api.log.Stacktrace

at com.sap.ide.dii05.util.api.log.LogManager.internalCreateStatus(LogManager.java:372)

at com.sap.ide.dii05.util.api.log.LogManager.createStatus(LogManager.java:353)

at com.sap.ide.dii05.lib.internal.commands.RefreshMetadataJdiJob.doInWorkerThread(RefreshMetadataJdiJob.java:261)

at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:75)

at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:240)

at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)

at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:214)

at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:275)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Can somebody please suggest what to do ?

Thanks

Sheba

former_member192434
Active Contributor
0 Kudos

Hi Sheba,

Try to active ur sap.com/com.sap.security.api.sda

by using ur right click on ur project>property>java Build>Add Variable>Expend WE_Runtime-->

then select com.sap.security_2.0.0 and add the jar file(com.sap.security.api.jar)

and rebuild ur project

I hope it will hlep

Thanks

Anup

Former Member
0 Kudos

Hi Sheba

Please go through this forums link

Hope you will get ur answer

Regards

Ruturaj