cami-la / sacola-api_IFOOD_DEV_WEEK

Código-Fonte do Projeto Sacola API do iFood Dev Week.
https://www.dio.me/dev-week/ifood/ifood-developer
167 stars 29 forks source link

Erro no Gradle #8

Open p-andrade opened 1 year ago

p-andrade commented 1 year ago

Estou tendo esse problema. Será que tem algo relacionado por está


APPLICATION FAILED TO START


Description:

Web server failed to start. Port 8081 was already in use.

Action:

Identify and stop the process that's listening on port 8081 or configure this application to listen on another port.

Task :ProjetoTesteApplication.main() FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings 3 actionable tasks: 2 executed, 1 up-to-date

FAILURE: Build failed with an exception.

BUILD FAILED in 14s

Erro

p-andrade commented 1 year ago

image

Estou modificando os JDKs e continuam o mesmo erro.

p-andrade commented 1 year ago

Consegui resolver o problema, fiz a instalação seguindo os passos que a Camila fala no link abaixo, depois reiniciei a máquina e o H2 estava funcionando.

https://github.com/cami-la/configuracao-inicial-ambiente-de-desenvolvimento-java