cancel
Showing results for 
Search instead for 
Did you mean: 

External library referencing to another library

Former Member
0 Kudos

Hi

I have used a external jar in my project and deployed it in server using following blogs.

/people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-i

/people/raphael.vogel/blog/2008/05/05/how-to-use-external-libraries-in-the-sap-component-model-part-ii

jar which i am using is "apache common file upload".

The problem is that this jar in turns call/uses servlet.jar, which it is unable to find at runtime. But it is there in server.

Thats why it is throwing following error :

java.lang.NoClassDefFoundError: javax/servlet/ServletInputStream

Now how can I point a reference in my used jar (apache common file upload jar) to this servlet.jar.

In j2ee visual admin when i saw other libraries, it is having a section "Library References" which has an entry for "servlet.jar" as weak reference.

BUT

There is no such entry in my case for (apache common file upload jar)

Please comment

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

In deployed library type DC i had to create an usage for another DC which was again a library type DC.

Benny
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

there is a complete chapter about libraries in the MANUAL. You can fin dthis here: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm.

Regards,

Benny