java.lang.NoClassDefFoundError: com/google/appengine/api/datastore/AsyncDatastoreService at com.googlecode.objectify.ObjectifyService.<clinit>(ObjectifyService.java:20)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

you can change your scala version to 2.11.11

,

Make sure to add the H2 jar file to the classpath environment variable. If you are using an IDE like NetBeans, add the H2 jar file to your project libraries.

Solutions on the web

via Google Groups by bad_code via StackOverflow, 5 months ago
com/google/appengine/api/datastore/AsyncDatastoreService at com.googlecode.objectify.ObjectifyService.<clinit>(ObjectifyService.java:20)
via Stack Overflow by bad_code
, 1 year ago
com/google/appengine/api/datastore/AsyncDatastoreService at com.googlecode.objectify.ObjectifyService.<clinit>(ObjectifyService.java:20)
via Stack Overflow by Katedral Pillon
, 2 years ago
Could not initialize class com.googlecode.objectify.ObjectifyService
via Google Groups by Katedral Pillon via StackOverflow, 3 months ago
Could not initialize class com.googlecode.objectify.ObjectifyService
java.lang.ClassNotFoundException: com.google.appengine.api.datastore.AsyncDatastoreService
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Users with the same issue

2 times, 1 day ago
2 times, 2 days ago
29 times, 2 days ago
Once, 2 days ago
Once, 2 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.