I am trying to deploy Spring Boot application to Heroku but I am not able to do that. My application is automatically get detected as "heroku-maven-plugin" but i want to deploy it as Java Application.
How can I achieve this?
I am trying to deploy Spring Boot application to Heroku but I am not able to do that. My application is automatically get detected as "heroku-maven-plugin" but i want to deploy it as Java Application.
How can I achieve this?
I got the answer for this issue.
Added system.properties file at the root folder path
java.runtime.version=14
deployed app through heroku-cli-deploy
Step 1: mvn clean
Step 2: mvn build
Step 3: heroku deploy:jar target/*.jar --app <app-name>