I'm using Maven, Java, JSF, Primefaces, Hibernate, MySQL, CDI and Tomcat 8 on the local machine to create the app. Now I'm trying to climb and I'm having a hard time getting the project up on Heroku.
I created Procfile.txt in the project root:
web: java $JAVA_OPTS -jar target/dependency/webapp-runner.jar --port $PORT target/*.war
I added the maven plugin:
<plugin>
<groupId>com.heroku.sdk</groupId>
<artifactId>heroku-maven-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<appName>lojapdv</appName>
</configuration>
</plugin>
I created the app, did the deploy going on the project, right click and in maven-build, in goals I put: heroku heroku: deploy-war and he went up to the heroku. So I went to the page through the link made available by heroku: link , but I'm getting a 404.
Also I could not configure BD, in case I'm using MYSQL and would have to migrate to Postgre which is free, but I'm having a hard time ...