json - Jackson and App Engine causing NoClassDefFoundError -
there few questions this, jackson 1.x. i'm using jackson 2.4.3 app engine sdk 1.9.15 , i'm getting following error:
java.lang.noclassdeffounderror: org/codehaus/jackson/map/objectmapper
i've tried using jackson-all-1.9.11.jar still same issue.
if import repackaged jackson com.google.appengine.repackaged works fine, following warning makes sound bad thing do.
warning: ..... not part of app engine's supported api. discouraged using class - app may stop working in production @ moment.
usually error indicates required jar missing /web-inf/lib
folder, or there several conflicting jars (with same classpath) in folder.
you may not error in ide if added jar project's classpath. if use eclipse, start selecting project , looking problems tab. may see warning there specified resource not available on server. right click on warning , choose "copy..." option.
otherwise, manually add jar /web-inf/lib
folder.
Comments
Post a Comment