Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using external libraries with Developer Studio 7.1 Composition Environment

Hi,

I downloaded DS 7.1 CE and tried to develop a simple application which uses an external library.

I created a development component for "external library" for the local development -> MyComponent, giving it the name "test2" (for the domain basis).

I imported the external library file using Import -> File System , then selecting the .jar file.

In the component properties browser I added a public part naming it "mylib2" setting the purpose to "ASSEMBLY" (my intention was that the libarry will be transferred during the deployment to the application server).

I right clicked on the public part to "managed entities". I selected the archive tree and checked the library file shown there (the one I imported before). #

Then I opended component properties of my web dynpro project and clicked on "Dependencies". The I chose "Add..." and selected the "test2" development component I created before (see above).

Then I tried to deploy the project (which uses this external library) using "Deploy Archive and Run"

After deployment the browser window opens and shows the ClassNotFoundException

So what did I oversee or do wrong?

BTW: Is it necessary for using external libraries to use a full fletched NWDI? Or can I use external libs also with netweaver development environments freely available for download on sdn.sap.com?

Any hints?

Thanks a lot

Hannes

Former Member
Not what you were looking for? View more on this topic or Ask a question