cancel
Showing results for 
Search instead for 
Did you mean: 

Libraries References

Former Member
0 Kudos

I have imported three jar files into my web dynpro app to use

to write Excel files.

One of the files is named:

poi-2.5.1-final-2004804.jar

I know I have to add references to these jars in my project properties

file under the Libraries tab. What is the name format?

I have seen lots of formats, like for example:

caf/eu/api

mozilla.org~js

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I tried that, but my application throws a NoClassDefFoundError

former_member186016
Active Contributor
0 Kudos

Hi,

Create a library type DC. Include the jars into this DC.

Expose the jars are assembly type public part.

In your main DC create dependency to this DC as build time and run time.

If you create assembly type public part and use it, the archive for your application will have the classes from jar in same archive as for the application.

Please try this out.

Hope it helps.

Regards,

Ashwani

Former Member
0 Kudos

hi,

refer this blog.

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

Regards,

Gopi

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks Ashwani, it is working now.

But I had to add a reference to the development component

into the Libraries tab of my Web DynPro project properties for

it to run without throwing a NoClassDefFoundException

Regards,

Gregory

Former Member
0 Kudos

I have tried that, but it does not work.

So I understand I can bundle the jars along with the Web DynPro app

itself. To do so, I have to have a reference to the libraries. But as I said above, I don't know the format of the name to

place in the libraries tab of the project properties.

I have tried the name poi-2.5.1-final-20040804, but get this error on

deployment:

Failed to start dependent library ''poi-2.5.1-final-20040804'

Former Member
0 Kudos

I want these libraries to be available to the application

on the server too, not just on the build path.

Former Member
0 Kudos

Hai,

Create a library project , add this jars to that library project , you can refer that jars from the library.

Regards,

Naga Raju

Former Member
0 Kudos

Hi Gregory,

In addition to this answer, if your prokject is a DC then you can also add the jar in the used Dcs under the DCmetadata from any of the standard components available.

Regards,

Bhavana

Former Member
0 Kudos

Hai Gregory,

You just right click on your webdynpro project , select the java buildpath tab and click the button addexternal jars , select your needed jar files then click ok. its enough to use external jars .

Thanks & Regards,

Naga Raju.M