on 07-14-2008 4:43 PM
Hi Guys,
I am using Jexcel Api's for exporting table data to Excel.
I have included the jars in the lib and the properties of the project, it works fine on a normal project but when i wrap this project into a DC its gives me an error
java.lang.NoClassDefFoundError: jxl/format/CellFormat
My DC is not dependent on any other DCs.
Do we have to perform some additional steps to to use external jars in DC.
Thanks,
Hi,
I am facing the same issue in Web Dynpro Java DC for Netweaver 7.3
I have added the external library DC's compilation public part to WD and enterprise application DC's assembly pp to WD but still in the runtime i get an error java.lang.ClassNotFoundException: jxl.format.CellFormat
The jxl jar is already added to the external library DC.
We cannot add Web Dynpro references in 7.3 so please suggest an alternative.
Please help/suggest.
Best Regards
Gaurang Dayal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Follow the reply posted by Mrs Laxmi.
After that if you are getting this exception at runtime,
1: Decalre one java library project , say 'JexcelLib'
2:Copy jxl.jar file and Go to navigator --> Right click on JexcelLib and paste .
3:Then Build and deploy the .sda file into server
4: Now.. Right click on your DC>Properties> choose WebDynpro references > Library references tab> add
5: give name as 'sap.com/JexcelLib'
6: Build your DC and deploy and run
Regards
LN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rakesh,
you need to create an external library dc and include all your jars in that. From your application you will have to add the above external library dc as a used dc.
It will work then.
--MLS
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 | |
8 | |
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.