Hi Jerry,
No, App Engine Flex doesn't support the use of App Engine standard libraries. so you need to change a few places in your code to adapt your app for App Engine Flex. Please, refer to this full guide of migration[1]
[1]https://cloud.google.com/appengine/docs/flexible/java/migrating