on 08-22-2014 6:51 AM
Hello Experts,
I am facing a problem while exporting the data into excel sheet.
DC1 : i have created library dc which contains jxl.jar file in library folder
DC2 : j2ee library DC--->DC1 is the used dc in this and DC2 build and deployed successfully
DC3 : webdynpro dc -->DC1 and DC2s are used DC (checked build time and runtime)
error :
The initial exception that caused the request to fail, was:
java.lang.NoClassDefFoundError: jxl/format/CellFormat
at com.pasteur.sku.global.wd.app.wdp.InternalVTab_Bord_SKU.<init>(InternalVTab_Bord_SKU.java:462)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
Both DC2 and DC3 s are successfully build and deployed
How to confirm that the jar file is exist in j2ee library by using visual admin
please help me out to fix the issue
Thanks in advance for your reply.
Regards,
Fayaz Shaik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then, its because at runtime when the application tried to look for the external api containing the excel methods then it does not find the jar on the server.
The compiler works as the IDE is able to locate it within its folders.
Check the deploy DC. Build a separate DC and try it. Check if the necessary references(if any any) are configured. - No direct solution, just Plain Old, keep doing it again and again till you find the actual issue.
All the best.
Regards,
Sharath
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.