I have problem with doployment to heroku, I used Heroku CLI, but I can´t get even get it started as Dyno. I always get this error message:
I´m using Spring Boot 2.4.0. With theese dependencies:
- spring-boot-starter-actuator
- spring-boot-starter-data-jpa
- spring-boot-starter-web
- spring-boot-starter-web-services
- spring-boot-devtools
- h2 for db
- lombok
- spring-boot-starter-test
- springfox-swagger2
- springfox-swagger-ui
- spring-boot-starter-validation
- junit
- webapp-runner
I also have setted up Procfile with following:
web: java -Dserver.port=$PORT $JAVA_OPTS -jar target/springBootExrcise-0.0.1-SNAPSHOT.jar
I have tried using the Heroku webapp-runner plugin, still nothing. When I run the app locally, everything works. Could someone shed some light ? Thanks