Skip to Content

Error while running WDJ application using jxl.jar

Hi Experts,

I am using jxl.jar in my webdynpro java application in CE7.2. I added jxl.jar in java build path and place the jar file in lib directory of webdynpro DC. It shows error in development configuration perspective while building, then i created another DC of type ExternalLibrary and added jxl.jar in libraries folder, then i right click on that jar and published as archive. Then in Development configuration perspective i added ExternalLibrary project to my webdynpro DC, it doen't shows error while building.

I deployed successfully, when i run the application, it shows the following error. Is there any fault in adding external jar to mt DC? i can't understand where the problem is?


java.lang.ClassNotFoundException: jxl.Workbook -

Loader Info -

ClassLoader name: [com.drl.bomrecipe/bomrecipe] Loader hash code: 30a86ee9 Living status: alive Direct parent loaders: [system:Frame] [interface:webservices] [interface:cross] [interface:security] [interface:transactionext] [library:webservices_lib] [library:opensql] [library:jms] [library:ejb20] [service:p4] [service:ejb] [service:servlet_jsp] [] [library:tcblexceptionlib] [library:tcblloggingapi] Resources: E:\usr\sap\CE7\J00\j2ee\cluster\apps\com.drl.bomrecipe\bomrecipe\servlet_jsp\webdynpro\resources\com.drl.bomrecipe\bomrecipe\root\WEB-INF\lib\com.drl.bomrecipe~bomrecipe.jar -



at java.lang.ClassLoader.loadClassInternal(

help me please, thanks in advance


Pradeep Kumar G

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on May 06, 2011 at 07:11 AM

    Hi Pradeep,

    Have you created both compilation and assembly public parts for your Ext Lib, and have you added them both to your Used DC's list?

    Also remember, since you are using an assembly public part, the 'Create Archive' and 'Deploy new archive and run' should not be used!

    Use the DC Build and DC Deploy instead.

    Hope this helps!

    Robin van het Hof

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on May 06, 2011 at 08:34 AM

    Excellent Robin !! It works for me, Thank you Thank you very much..

    Add comment
    10|10000 characters needed characters exceeded