2👍
The issue was that my project structure was not supported by the default Procfile
configuration that was looking in target/my-jar-file.jar
, and needed to be changed for my unusual project structure: backend/target/my-jar-file.jar
.
web: java -jar backend/target/my-jar-file.jar
in a Procfile
at the root of my application.
Source:stackexchange.com