jar - Can't import library into Google App Engine project -
i use google app engine sdk 1.8.5 eclipse 3.8 on ubuntu.
i want add cloud storage service app, downloaded guava-gwt-15.0.jar
, appengine-gcs-client-0.3.jar
, , put them in apps /war/web-inf/lib/
folder. added these jars build path in eclipse.
when fire app in dev mode, runs fine, @ least until try access page relevant gcs library. when that, following error:
java.lang.noclassdeffounderror: com/google/common/base/preconditions @ com.google.appengine.tools.cloudstorage.gcsserviceimpl.<init>(gcsserviceimpl.java:35) @ com.google.appengine.tools.cloudstorage.gcsservicefactory.creategcsservice(gcsservicefactory.java:32) ... etc
i cleaned project , restarted eclipse multiple times, , still problem persists. do?
in addition guava gwt, need core guava library (guava-15.0.jar
). download .jar war/web-inf/lib
, add build path well.
Comments
Post a Comment