Quantcast
Channel: Programação - GUJ
Viewing all articles
Browse latest Browse all 33093

Erro na tentativa de realizar deploy com java no HEROKU

$
0
0

@BlackkamemRaider escreveu:

@wladyband
! No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed

Fiz a configuração do buildpacks mas não resolveu.

Criei o Procfile ;

web: java $JAVA_OPTS -cp target/classes:target/dependency/*

system.properties exatamente com esse código.

$ ls
Procfile pom.xml src

$ echo "java.runtime.version=1.8" > system.properties

$ git add system.properties && git commit -m "Java 8"

$ git push heroku master

$ heroku config:set MAVEN_CUSTOM_GOALS="clean package"

$ heroku config:set MAVEN_CUSTOM_OPTS="--update-snapshots -DskipTests=true"

$ heroku config:set MAVEN_JAVA_OPTS="-Xss2g"

Mensagens: 4

Participantes: 3

Ler tópico completo


Viewing all articles
Browse latest Browse all 33093


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>