cancel
Showing results for 
Search instead for 
Did you mean: 

WD component build error

Former Member
0 Kudos
59

Hi all,

In my process I have a webDynpro component in which I am uploading an xls file and populate a table. I have downloaded the jlx.jar library, added it to the build path of my component, as well as copying it in the lib folder. But when I try to build my component I get the following error message: "package jxl does not exist". Does any of you know what else needs to be done in order not to get this error?

Regards,

Stefania

Accepted Solutions (0)

Answers (3)

Answers (3)

srinivas_sistu
Active Contributor
0 Kudos

Hi,

Ingeneral, if we are adding any external JAR to a DC then the best way is to Create a Libray DC with the required JARs and add this Library DC as a dependency to your WDJ DC. Try this approach.

Regards,

SrinivaS

Former Member
0 Kudos

Hi all,

Thank you for you replies, I managed to solve my issues by creating an External Library and and EAR. In this way the dependency on the external library was solved. What was confusing is that before, on another similar environment I managed to add an external library just by editing the build path.

But anyways, now it works.

Thank you and best regards,

Stefania

Former Member
0 Kudos

hi rusu.stefania,

I think you should create a External Libraly Dc, and add the jar file here. Then add the dc as dependency to your WD. This may solve you problem.

Best Regards

junwu
Active Contributor
0 Kudos

don't try to change the build path if you are using DC.

you can search in sdn regarding how to use external lib.