on 08-07-2007 2:32 PM
Hi Friends,
I have created an DC application where i read data from excel.For this i have used jxl.jar.I have created External Library DC and add this jar to it.
Now i have added the External Library DC to the actual application.
I dont get any compilation error.But when i execute it im getting the following error.
java.lang.NoClassDefFoundError: jxl/Workbook
at test.com.wdp.InternalExceldataView.<init>(InternalExceldataView.java:121)
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)
Can any one help me to over come this error.
Regards
Divya
hi,
have you added library reference in your webdynpro project?
regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check in vsual administrator in libraries with name poi jars.
other wise do one thing
create a new project of type j2ee servercomponent-->library
open server-provider.xml
give providername =sap.com
component name=poijars
display name=poijars
select jars tab-->add jxl.jar
right click on proj build library archive , deploy the sda file
now add library reference for your wd project =sap.com~poijars
Regards,
Naga
Hi,
add jxl.jar as described in the below blog
/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.