Maven Java GAE compilation error -


i'm getting build failure following error:

[error] failed execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project r esponderhub: compilation failure [error] /x:/workspaces/responderhubworkspace/responderhub/src/main/java/uk/org/responderhub/memberservlet.java:[23,110] cannot find symbol [error] symbol: method now() [error] location: class com.googlecode.objectify.ref

with following simple source code:

package uk.org.responderhub;  import java.io.ioexception;  import javax.servlet.http.httpservlet; import javax.servlet.http.httpservletrequest; import javax.servlet.http.httpservletresponse;  import com.googlecode.objectify.objectifyservice;  import uk.org.responderhub.data.member;  public class memberservlet extends httpservlet {    @override   public void doget(httpservletrequest req, httpservletresponse resp) throws ioexception {      member member = new member();     member.userid="1234";      objectifyservice.ofy().save().entity(member);      member member2 = objectifyservice.ofy().load().type(member.class).filter("userid", member.userid).first().now();    }  } 

if you're following google app engine tutorial java there typo in pom.xml changes lists when talks adding objectify dependencies. version of objectify supposed listed 4.0.1, not 4.0b1.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -