Error: User lacks privilege or object not found

Hi all,
my application works fine in development environment, but after deployment when trying to open browser, I faced this error “user lacks privilege or object not found”, I have copied my jdbc driver “mysql-connector-java.jar” to app/WEB-INF/lib folder, but it does not make any difference.

Any suggestion?
Thank you

Hi Ahmad,

Probably your database does not contain tables for your entities. Look at these recommendations: Creating and Updating the Database in Production

Thank you, Konstantin for your reply.