on 09-02-2008 12:46 PM
hi Experts,
i m trying Excel export and import functionality for this i m using jxl.jar ,but when i m deploying my application i m getting java.lang.NoClassDefFoundError: jxl/format/CellFormat
how to resolve this problem.
Hi,
I think jxl.jar is missing at server side..
Take one Library project and add jxl.jar to it, build and deploy.
Add this as library reference to your WebDynpro project.
To do it,
RightClick on yuor project> properties> WebDynproReferences> choose LibraryReferences tab> Click on Add> Now give the name of Library project here> Ok--> Ok
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trilochan,
Since the jxl.jar files are not present on the server it is giving ClassnotFoundException. To make this available on the server you can create a server component file which contains these JARs and then deploy them on server. Accordingly you can add it in Library Reference.
Thanks
Namrata
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it depends whether you are using JDI or not. If you use JDI, you only have to create an External Library DC and add the jxl.jar per Drap&Drop in Navigation panel to the DC. Add the file also to the public part. In the Web Dynpro DC add the External Library DC as used DC and deploy both DCs on the server.
The only error you can make is to deploy the components using "Deploy new archive and run..." -> this command won't deploy the jar and you have the same result as now. You have do build & deploy it step-by-step (Development Component -> Build..., Development Component -> Deploy).
If you don't use JDI, perform like described by Lakshmi.
Regards,
Martin
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.