cancel
Showing results for 
Search instead for 
Did you mean: 

Adding External jar file in webdynpro in CE 7.1 EHP 1

raktim_banerjee
Participant
0 Kudos

Hi,

How to add external jar file in webdynpro component. I am using CE 7.1 EHP 1 SP04 .Public part of external library is used in the webdynpro dc. I created Enterprise Application and used that in runtime in the wybdynpro dc also.

I am not getting any error at the time of deploy but at the time of activating getting the following error.

ERROR: E:\usr\sap\CED\J10\j2ee\cluster\server0\temp\CBS\1\.B\354\t\65FFED04CAA1231EE16A570686EC24D6\gen_wdp\packages\com\sap\home\ovsuser\ovsuserapp\comp\OvsUserComp.java:23: package com.sap.security.api does not exist
     [javac] ERROR: import com.sap.security.api.ISearchAttribute;
     [javac] ERROR:                             ^
     [javac] ERROR: E:\usr\sap\CED\J10\j2ee\cluster\server0\temp\CBS\1\.B\354\t\65FFED04CAA1231EE16A570686EC24D6\gen_wdp\packages\com\sap\home\ovsuser\ovsuserapp\comp\OvsUserComp.java:24: package com.sap.security.api does not exist
     [javac] ERROR: import com.sap.security.api.ISearchResult;

Please help.

Raktim

Accepted Solutions (1)

Accepted Solutions (1)

shankar_agarwal
Contributor
0 Kudos

Hello Raktim

com.sap.security.api should be available within NWDS plugins and should work fine if you add sap-jee DC as used dc.

For external jars check this link

[http://wiki.sdn.sap.com/wiki/display/Java/Externaljarfileerrorand+Solution]

works fine in netwever 7.01 .

Regards

Answers (1)

Answers (1)

p330068
Active Contributor
0 Kudos

Hi Raktim,

Please check the required jar file for security api are added or not in the external library or main dc.

If not added, then you need to add in the DC >> properteis.

Hope it will helps

Regards

Arun Jaiswal