cancel
Showing results for 
Search instead for 
Did you mean: 

External Library reference runtime dependency ..Noclassfoundexception

Former Member
0 Kudos

Hello,

I am trying to reference an External library from my DC and use the containg API..

I have followed each and every step of below SAP Blog:

[Blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2361] [original link is broken] [original link is broken] [original link is broken];

But I am facing below error :

java.lang.NoClassDefFoundError: com/google/api/translate/Translate

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Naga,

Its important to define two public parts (with the same contents <--> libraries), with one of type 'Compilation' and the other of type 'Assembly'.

Please follow this blog:

/people/bala.krishnan2/blog/2006/09/25/bid-adieu-to-bots--using-captchas

Regards

Yugandhar Reddy

Qualiture
Active Contributor
0 Kudos

Hi,

It looks like you forgot to add an entry in the Library Reference tab under Web Dynpro References.

I assume this is a runtime/deployment exception?

Robin van het Hof

Former Member
0 Kudos

I did metioned that for runtime dependency....

However I feet the blog I was following does not contain right method...or it got changed with new service packs...

So I followed another article were 2 public parts were created...one compilation and one assembly....

That worked for me...

Thankyou......

Former Member
0 Kudos

Sourabh,

I am using NWDS 7.0.18. I am also facing the same issue. Could you please let me know the blog which resolved your issue?

Thanks,

Naga Surendra