I am trying to deploy my Vaadin chart app to Heroku. I can locally build and run it by IDE and all works fine.
I have free developer license saved into my home directory. When I tried to deploy it to Heroku by Heroku cli. It tried to build a maven project. Then it fails with the error as:-
[ERROR]
License for Vaadin Charts 4 not found. Go to vaadin.com/pro for more details.
Make sure you don’t have any extra dots or similar in your commandline - yours looks a bit broken.
mvn -Dvaadin.vaadin.charts.developer.license=xxxx-xxx-xxx-xxxx-xxxxx package
works here.
Better approach is to use the license file. Note that the JVM checks in the home directory of the executing user. Assuming Heroku has a dedicated account you need to put the license there.
But still, this did not help the deployment to Heroku. Heroku is still failing as [ERROR]
License for Vaadin Charts 4 not found. Go to vaadin.com/pro for more details.
So I have to send the license file to the Heroku home directory. I don’t know how to transfer license file to the Heroku home directory. Hopefully, somebody could tell how to do it? It will be really helpful. Thanks in advance!