java - Need help on NoClassDefFound error -


i'm working on service prepare spreadsheet report. i'm using jxl-2.4.2.jar achieve ( please note can't use latest version due compatibility constraints). when execute code locally on eclipse works fine. eclipse has java 1.5.

when deploy code in test environment, giving noclassdeffound error jxl.* ( classes in jxl ). test environment has ibm's java 1.5. believe doesn't make difference if use ibm's version or sun's version of java in context.

i believe error happen when jvm fails load class @ runtime or if class has static methods/properties. checked classes , none of them have static contents. so, else.

fyi.. i'm using ant build project & check build.xml. showing correct version of java 1.5. please fix error? fyi.. project resides on aix 5.0 server.

any in regard much appreciated. in advance.

this error implies dependency missing @ runtime i.e. set of dependent jars not not correct. jxl-2.4.2.jar not getting shipped along deployment, resolve issue , can manually copy jar in dependent lib folder of deployment.

but proper fix ant build checked.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -