www.teamdev.com
2 Replies Last post: Aug 5, 2008 7:05 PM by Andrew McGregor  
Click to view Andrew McGregor's profile   5 posts since
Aug 2, 2008

Aug 2, 2008 12:57 AM

NoClassDefFound Error on One Machine with JExel


Our JExcel-based application is working fine on many machine, but one customer machine is giving us problems. When out code invokes the Application constructor we get the exception below.

I wondered whether we have right version of jniwrap.dll, but the version in c:\windows\system has the same number of bytes as the one in our deployment directory. When I removed jniwrap.dll, the exception changed, so the problem seems to come after starting to use jniwrap.dll.


Can you tell me what is happening in getOleMessageLoop()?

java.lang.NoClassDefFoundError com.jniwrapper.win32.jexcel.Application.getOleMessageLoop(SourceFile:243) com.jniwrapper.win32.jexcel.Application.<init>(SourceFile:83) emerald.dsd.data_source.file.dad.bean_CMG_Plus_2008.process_CMG_Plus_Transactioned(bean_CMG_Plus_2008.java:377) emerald.dsd.data_source.file.dad.bean_DAD.process_CMG_Plus_Transactioned(bean_DAD.java:674)

Click to view Igor Novikov's profile TeamDev Ltd. 197 posts since
Apr 24, 2006
1. Aug 4, 2008 8:50 PM in response to: Andrew McGregor
Re: NoClassDefFound Error on One Machine with JExel
Hi Andrew,

According to your error stacktrace OleMessageLoop class has not been found.
The class is a part of ComfyJ library. Therefore I can suppose that this library is missing in java library path.
Please check this supposition and let us known the results.

Sincerely,

Igor Novikov.