I'm trying to migrate google appengine from V1 To V2 as per tutorialo:
https://cloud.google.com/endpoints/docs/frameworks/legacy/v1/java/migrating
and I'm getting the following error:
*Annotation processors must be explicitly declared now. The following
dependencies on the compile classpath are found to contain annotation
processor. Please add them to the annotationProcessor configuration. -
appengine-api-1.0-sdk-1.9.59.jar (*
If I add:
annotationProcessor 'com.google.appengine:appengine-api-1.0-sdk:1.9.59' in my
build.gradle file, I got a different error:
Error:(58, 0) Could not find method annotationProcessor() for arguments
[com.google.appengine:appengine-api-1.0-sdk:1.9.59]
Follows how my dependencies build.gradle file is:
dependencies {
providedCompile group: 'javax.servlet', name: 'servlet-api', version:'2.5'
compile 'jstl:jstl:1.2'
compile group: 'javax.inject', name: 'javax.inject', version: '1'
compile 'com.google.appengine:appengine-api-1.0-sdk:1.9.59'
compile group: 'com.google.endpoints', name: 'endpoints-framework',
version: '2.0.8'
}
Have no idea how to fix.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/f7f88349-1b90-4a60-8ce3-85f308229a88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.