1
resposta

Não carrega a aplicação leiloes

|        vfs       |   2   |   0   |   0   |   0   ||   2   |   0   |
        |       sftp       |   12  |   0   |   0   |   1   ||   10  |   0   |
        |    standalone    |   0   |   0   |   0   |   0   ||   0   |   0   |
        |        ant       |   2   |   0   |   0   |   0   ||   2   |   0   |
        |      default     |   22  |   0   |   0   |   1   ||   20  |   0   |
        |       test       |   9   |   0   |   0   |   0   ||   9   |   0   |
        |      source      |   0   |   0   |   0   |   0   ||   0   |   0   |
        ---------------------------------------------------------------------
[ivy:retrieve] :: retrieving :: org.apache.ivy#ivy [sync]
[ivy:retrieve]  confs: [core, httpclient, oro, vfs, sftp, standalone, ant, default, test, source]
[ivy:retrieve]  0 artifacts copied, 48 already retrieved (0kB/71ms)
     [copy] Copying 20 files to C:\Users\tao22\Downloads\leiloes\leiloes\src\main\webapp\WEB-INF\lib

compile:
    [javac] C:\Users\tao22\Downloads\leiloes\leiloes\build.xml:41: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 15 source files to C:\Users\tao22\Downloads\leiloes\leiloes\src\main\webapp\WEB-INF\classes

BUILD FAILED
C:\Users\tao22\Downloads\leiloes\leiloes\build.xml:41: C:\Users\tao22\Downloads\leiloes\leiloes\lib\provided does not exist.

Total time: 3 seconds

C:\Users\tao22\Downloads\leiloes\leiloes>

1 resposta

Esse erro deu quando você rodou o comando "ant jetty.run" ? Você alterou algo no arquivo build.xml?

Roda um "ant -version" e veja qual versão você está utilizando. Eu testei com a "Apache Ant(TM) version 1.10.5 compiled on March 28 2019" e funcionou normalmente