1
resposta

Erro no build (ant jetty.run)

Bom, eu dei uma olhada nos post anteriores e baixei a versão do Ivy que eu não tinha e coloquei no diretorio /lib do ant. Mesmo assim ele continua não reconhecendo os Jars...

C:\Users\Biz\eclipse-workspace\Test-REST\leiloes>ant jetty.run
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_241\lib\tools.jar
Buildfile: C:\Users\Biz\eclipse-workspace\Test-REST\leiloes\build.xml

resolve:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: url = jar:file:/C:/Users/Biz/ant/apache-ant-1.10.7/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: leiloes#leiloes;working@LAPTOP-DT688FMB
[ivy:retrieve]  confs: [default, provided, test, jetty, minify]
[ivy:retrieve] :: resolution report :: resolve 9380ms :: artifacts dl 0ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   8   |   0   |   0   |   0   ||   0   |   0   |
        |     provided     |   2   |   0   |   0   |   0   ||   0   |   0   |
        |       test       |   3   |   0   |   0   |   0   ||   0   |   0   |
        |       jetty      |   3   |   0   |   0   |   0   ||   0   |   0   |
        |      minify      |   1   |   0   |   0   |   0   ||   0   |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: br.com.caelum#vraptor;3.4.0
[ivy:retrieve]  ==== local: tried

Varios erros.......

BUILD FAILED
C:\Users\Biz\eclipse-workspace\Test-REST\leiloes\build.xml:26: impossible to resolve dependencies:
        resolve failed - see output for details
1 resposta

Olá Rafael. Também passei por esse problema e consegui resolver com a explicação que se encontra no link abaixo:

https://cursos.alura.com.br/forum/topico-falha-no-build-resolvido-100561