Hi all,

I'm trying to keep up with my GAE standard webserver solution to latest 
one. Mainly Java8 to Java11. One of my package use the standard google 
appengine as described 
https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/datastore/DatastoreService

When I try to migrate my solution to Java11, my solution encountered many 
errors indicating some of Java file is not compatible with new Java11 
binary as following

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/global/SystemService.java:[31,34]
 
cannot find symbol
  symbol:   class DatastoreService
  location: package com.google.cloud.datastore
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/global/SystemService.java:[66,9]
 
cannot find symbol
  symbol:   class DatastoreService
  location: interface org.vosao.global.SystemService
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/entity/TemplateEntity.java:[28,34]
 
cannot find symbol
  symbol:   class Text
  location: package com.google.cloud.datastore
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/entity/StructureEntity.java:[38,34]
 
cannot find symbol
  symbol:   class Text
  location: package com.google.cloud.datastore
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/entity/FormConfigEntity.java:[26,34]
 
cannot find symbol
  symbol:   class Text
  location: package com.google.cloud.datastore
[ERROR] 
/D:/workspace/FastGPS_Webapp_J11/vosao/api/src/main/java/org/vosao/utils/EntityUtil.java:[38,34]
 
cannot find symbol
  symbol:   class Text
  location: package com.google.cloud.datastore
[INFO] 6 errors 

My solution is quite old and use appengine.api and objectify 5, but I would 
like to move to google cloud storage API and objectify 6. These are the 
classes generate compile errors or used in com.google.appengine.api.*, but 
removed latest google cloud datastore api. If there are any tip or 
workaround, it will be appreciated.

com.google.appengine.api.DatastoreServicecom.google.appengine.api.Text
com.google.appengine.api.PreparedQuery
com.google.appengine.api.FilterOperator
com.google.appengine.api.SortDirection
com.google.appengine.api.DatastoreServiceFactory
com.google.appengine.api.EntityNotFoundException
com.google.appengine.api.FetchOptions
com.google.appengine.api.QueryResultList
com.google.appengine.api.AsyncDatastoreService
com.google.appengine.api.CachingDatastoreServiceFactory
com.google.appengine.api.QueryResultIteratorcom.google.appengine.api.GeoPt
com.google.appengine.api.Entities
com.google.appengine.api.CompositeFilterOperator
com.google.appengine.api.Filtercom.google.appengine.api.FilterPredicate
com.google.appengine.api.DatastoreAttributescom.google.appengine.api.Index
com.google.appengine.api.KeyRangecom.google.appengine.api.TransactionOptions
com.google.appengine.api.IndexState
com.google.appengine.api.CachingTransaction

Thanks in advanced,

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b60a8f8e-e5f5-47e8-b4b2-eef0e83eade2%40googlegroups.com.

Reply via email to