on 06-07-2007 9:09 PM
Please, somebody help me!
Why I can't add the iText (PDF) library within an existing WD Project?
It seems to be fine, until the time I run it and get the error: "java.lang.NoClassDefFoundError: com/lowagie/text/Phrase ".
PS.: My WD is not a DC, and I can't change it.
Thanks !!
Fabio
I've given up of using iText for generating PDF.
I'm using Interactive Forms instead.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fabio, are you familiar with /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro ?
Make sure you have a sharing reference to library which contains itext jar`s on !server!.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C:\usr\sap\J2E\JC00\j2ee\admin\go.bat
J2E (Or your SID if different)->Server->Services->ClassLoader Viewer
In right pane tree expand and select Components->Libraries-><your library>
In right pane you will see in the middle name of your library. it MUST contain "library:" prefix. For example "library:tccolapi". Put this name as sharing reference for your WD project.
Hi Maksim,
I didn't understand very well what you said with "It MUST contain "library:" prefix".
In the Visual Administrator, my library has the name "itext".
In my project, I've tried everything:
Sharing Reference: itext
Sharing Reference: library:itext
Library Reference: library:text
But when I deploy, it gives the message "The referenced application can't be started".
Only when I put "Library Reference: itext" it deploys ok, but still gives the message "java.lang.NoClassDefFoundError: com/lowagie/text/Phrase", on run-time.
May I have done something wrong??
Can I create everything again?
Thank you!
Regards
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.