on 01-05-2007 1:24 AM
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
I tried that, but my application throws a NoClassDefFoundError
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want these libraries to be available to the application
on the server too, not just on the build path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.