websphere - WAS server 6.1 not able to identify JSON.jar file -


i have build application , deployed in 6.1. able see jar files in web-inf/lib , in war files, while running application not identify json jar file. getting no class def found error. please find attached logs file.

java.lang.noclassdeffounderror: org.apache.commons.lang.exception.nestableruntimeexception @ java.lang.classloader.defineclassimpl(native method) @ java.lang.classloader.defineclass(classloader.java:258) @ java.security.secureclassloader.defineclass(secureclassloader.java:151) @ java.net.urlclassloader.defineclass(urlclassloader.java:589) @ java.net.urlclassloader.access$400(urlclassloader.java:123) @ java.net.urlclassloader$classfinder.run(urlclassloader.java:1034) @ java.security.accesscontroller.doprivileged(accesscontroller.java:279) @ java.net.urlclassloader.findclass(urlclassloader.java:491) @ com.ibm.ws.bootstrap.extclassloader.findclass(extclassloader.java:132) @ java.lang.classloader.loadclass(classloader.java:631) @ com.ibm.ws.bootstrap.extclassloader.loadclass(extclassloader.java:87) @ java.lang.classloader.loadclass(classloader.java:597) @ java.lang.j9vminternals.verifyimpl(native method) @ java.lang.j9vminternals.verify(j9vminternals.java:69) @ java.lang.j9vminternals.initialize(j9vminternals.java:131) @ com.nationwide.websheets.web.util.jsonutils.marshalltojsonwithdateprocessor(jsonutils.java:113)

i tried 1) placed jar file in server/lib still doesn't me. wondered why not identify jar file if in server/lib or server/lib/ext. 2) created shared lib in was. doesn't me. 3) set class path in system variable, doesn't me.

any on this? help.

thanks cvsr sarma.

1) error indicates problem commons-lang jar (not json.jar per se)

2) make sure it's in web-inf/lib

3) there might version/cross dependency issue. @ "project transitive dependencies" table here:


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -