You need Google guava (as of 4.0b3). Check out the setup guide.
Hi there !I'm learning how to use Objectify with my GWTP project. I'm sure that it works like a chief but I encounter some difficulties to make it working.Here is what I did to install :1) Download the latest jar from maven (objectify-4.0b3.jar) and I added it to my projet libraries (also in war/web-inf/lib)
2) Also downloaded guava-gwt-14.0.1.jar and added to both places3) In my Project.gwt.xml :added :<!-- Objectify --><inherits name="com.googlecode.objectify.Objectify" />4) In my Guice package class : DispatchServletModule extends ServletModule :public class DispatchServletModule extends ServletModule {@Overridepublic void configureServlets() {serve("/" + ActionImpl.DEFAULT_SERVICE_NAME).with(DispatchServiceImpl.class);// Objectifyfilter("/*").through(ObjectifyFilter.class);bind(ObjectifyFilter.class).in(Singleton.class);}}And then I run the project.It send me two errors :first load :--Reason:
com/google/common/base/FunctionCaused by:
java.lang.NoClassDefFoundError: com/google/common/base/Function at com.googlecode.objectify.cache.EntityMemcache.<init>(EntityMemcache.java:176)after refresh :Could not initialize class com.googlecode.objectify.ObjectifyServiceCaused by:
java.lang.NoClassDefFoundError: Could not initialize class com.googlecode.objectify.ObjectifyService at java.lang.Class.forName0(Native Method)at java.lang.Class.forName(Unknown Source)
I know it's long... but could someone help me ? (I precise I tried with 1.7.7 and 1.8)Thanks in advance for your help :)
You received this message because you are subscribed to the Google Groups "objectify-appengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appen...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to objectify-appengine+unsub...@googlegroups.com.
Hi All,I am already using guava-14.0.1.jar but i still get the same error that you had mentioned. I am using Google app engine 1.8. Any suggestions?Cheers,Vanitha