Verify that your build file is set up correctly Then deploy again with git push heroku master. You can add the wrapper files by running these commands: $ git add gradle/wrapper gradlew stageĮrror: Could not find or load main class If you do not add these files, you will receive an error such as: -> executing. If you are using gradlew, then you must also add your gradle/wrapper/gradle-wrapper.jar and gradle/wrapper/gradle-wrapper.properties files to your Git repository. Heroku Java support for Gradle will be applied to applications that contain a adle file, adle file, or a gradlew file. ![]() The details of Heroku’s Java Support are described in the Heroku Java Support article.
0 Comments
Leave a Reply. |