ok i was missing a maven dependency for appengine-api-1.0-
sdk-1.3.8.jar.

the gae-plugin was hiding the visibility of it to the test phase.

so i can now run a junit  test with transaction using persistence.

-lp


On Nov 10, 2:17 pm, lp <lucio.picc...@gmail.com> wrote:
> hi all,
>
> when running a unit test using  i am getting the error below.
>
> i have followed the data store unit test guide 
> lines.http://code.google.com/appengine/docs/java/tools/localunittesting.htm...
>
> is it as simple as a missing jar, but which one?
>
> WARNING: Caught exception while allowing TestExecutionListener
> [org.springframework.test.context.transaction.transactionaltestexecutionliste...@18346a3]
> to process 'after' execution for test: method [public void
> com.asteriski.mingle.geo.entity.PositionUserEntityTest.insertWithGoogleDataSource()],
> instance
> [com.asteriski.mingle.geo.entity.positionuserentityt...@19299f5],
> exception [java.lang.NullPointerException]
> com.google.apphosting.api.ApiProxy$CallNotFoundException: The API
> package 'datastore_v3' or call 'Rollback()' was not found.
>         at
> com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:95)
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
> 58)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
> 42)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(TransactionImpl.java:
> 56)
>         at
> com.google.appengine.api.datastore.TransactionImpl.rollback(TransactionImpl.java:
> 77)
>
> i assume that i am missing a appengine jar file in the maven
> dependencies. is that correct?
>
> any help is appreciated.
>
> -lp

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to