Application Error When Deployed to Heroku

I get Application Error when I deploy Spring Boot Application to Heroku.

What’s the error?

Did you make a production build? A development mode build won’t work.