on 06-02-2007 11:47 AM
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
Hannes,
If you want to use external libraries with DCs then you should follow the NWDI completely.
Check this step, otheways of using external libraries is mentioned <a href="http://help.sap.com/saphelp_nw70/helpdata/en/e3/de813e77d46245e10000000a114084/frameset.htm">here.</a>
Regards
Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have excactly the same problem with deployment of external libraries.
To deploy I'm using the context menu of the "Component Browser"-View on my DCs:
first <build>, than <deploy>.
After that the "Infrastructure Console"-View shows the message:
DC (external library) contains no archives for deployment.
any solution since then @Hannes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Heckner,
With DS 2.0.14 I have used external libraries only adding to the class path the .jar file (just rigth click on DC->properties->Java Build path->Add external jars).
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.