As Dan mentioned, the documentation highlights a lot of the differences.
As for your error, it's likely caused by your application still configured like a Flex app. Make sure you don't have this part:
runtime: python
env: flex
The key here is that the process is less like "migration" and more like "redeploying" or "redesigning" when moving from or to GAE (Google App Engine) standard. The safest way to simply take your code and just deploy to app engine standard from scratch (no existing configuration, just read GAE standard docs and start from there).
GAE standard gives you a lot of builtin access to our resources like Datastore and Cloud SQL, while most of the resource can be accessed from GAE Flex and even GCE (Google Compute Engine) through the use of libraries, it's just a lot easier on GAE standard. So I would recommend looking through the Standard -> Flex migration docs](https://cloud.google.com/appengine/docs/flexible/java/migrating) to get an idea on which APIs are available and how they have changed.