5
respostas

Problema ao iniciar projeto ( ant jetty.run)

C:\Users\Neverzin\Documents\leiloes> ant jetty.run
Buildfile: C:\Users\Neverzin\Documents\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/Neverzin/Documents/leiloes/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: leiloes#leiloes;working@DESKTOP-VSI8MN8
[ivy:retrieve]  confs: [default, provided, test, jetty, minify]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/C:/Users/Neverzin/Documents/leiloes/ivy-2.2.0.jar) to field java.net.Authenticator.theAuthenticator
WARNING: Please consider reporting this to the maintainers of org.apache.ivy.util.url.IvyAuthenticator
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ivy:retrieve] :: resolution report :: resolve 10559ms :: artifacts dl 0ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |      default     |   9   |   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   |
        ---------------------------------------------------------------------
5 respostas

Continuação

[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
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/br.com.caelum/vraptor/3.4.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact br.com.caelum#vraptor;3.4.0!vraptor.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/br.com.caelum/vraptor/3.4.0/jars/vraptor.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/br.com.caelum/vraptor/3.4.0/ivys/ivy.xml
[ivy:retrieve]    -- artifact br.com.caelum#vraptor;3.4.0!vraptor.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/br.com.caelum/vraptor/3.4.0/jars/vraptor.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    http://repo1.maven.org/maven2/br/com/caelum/vraptor/3.4.0/vraptor-3.4.0.pom
[ivy:retrieve]    -- artifact br.com.caelum#vraptor;3.4.0!vraptor.jar:
[ivy:retrieve]    http://repo1.maven.org/maven2/br/com/caelum/vraptor/3.4.0/vraptor-3.4.0.jar
[ivy:retrieve]          module not found: org.hsqldb#hsqldb;2.2.4
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/org.hsqldb/hsqldb/2.2.4/ivys/ivy.xml
[ivy:retrieve]    -- artifact org.hsqldb#hsqldb;2.2.4!hsqldb.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/org.hsqldb/hsqldb/2.2.4/jars/hsqldb.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/org.hsqldb/hsqldb/2.2.4/ivys/ivy.xml
[ivy:retrieve]    -- artifact org.hsqldb#hsqldb;2.2.4!hsqldb.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/org.hsqldb/hsqldb/2.2.4/jars/hsqldb.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    http://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.2.4/hsqldb-2.2.4.pom
[ivy:retrieve]    -- artifact org.hsqldb#hsqldb;2.2.4!hsqldb.jar:
[ivy:retrieve]    http://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.2.4/hsqldb-2.2.4.jar
[ivy:retrieve]          module not found: opensymphony#sitemesh;2.4.2
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/opensymphony/sitemesh/2.4.2/ivys/ivy.xml
[ivy:retrieve]    -- artifact opensymphony#sitemesh;2.4.2!sitemesh.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/opensymphony/sitemesh/2.4.2/jars/sitemesh.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/opensymphony/sitemesh/2.4.2/ivys/ivy.xml
[ivy:retrieve]    -- artifact opensymphony#sitemesh;2.4.2!sitemesh.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/opensymphony/sitemesh/2.4.2/jars/sitemesh.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    http://repo1.maven.org/maven2/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.pom
[ivy:retrieve]    -- artifact opensymphony#sitemesh;2.4.2!sitemesh.jar:
[ivy:retrieve]    http://repo1.maven.org/maven2/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar
[ivy:retrieve]          module not found: javax.servlet#jstl;1.2
[ivy:retrieve]  ==== local: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/javax.servlet/jstl/1.2/ivys/ivy.xml
[ivy:retrieve]    -- artifact javax.servlet#jstl;1.2!jstl.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/local/javax.servlet/jstl/1.2/jars/jstl.jar
[ivy:retrieve]  ==== shared: tried
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/javax.servlet/jstl/1.2/ivys/ivy.xml
[ivy:retrieve]    -- artifact javax.servlet#jstl;1.2!jstl.jar:
[ivy:retrieve]    C:\Users\Neverzin\.ivy2/shared/javax.servlet/jstl/1.2/jars/jstl.jar
[ivy:retrieve]  ==== public: tried
[ivy:retrieve]    http://repo1.maven.org/maven2/javax/servlet/jstl/1.2/jstl-1.2.pom
[ivy:retrieve]    -- artifact javax.servlet#jstl;1.2!jstl.jar:
[ivy:retrieve]    http://repo1.maven.org/maven2/javax/servlet/jstl/1.2/jstl-1.2.jar
[ivy:retrieve]          module not found: org.hibernate#hibernate-entitymanager;3.6.7.Final
[ivy:retrieve]  ==== local: tried

Continuação 3

[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: br.com.caelum#vraptor;3.4.0: not found
[ivy:retrieve]          :: org.hsqldb#hsqldb;2.2.4: not found
[ivy:retrieve]          :: opensymphony#sitemesh;2.4.2: not found
[ivy:retrieve]          :: javax.servlet#jstl;1.2: not found
[ivy:retrieve]          :: org.hibernate#hibernate-entitymanager;3.6.7.Final: not found
[ivy:retrieve]          :: org.hibernate#hibernate-c3p0;3.6.7.Final: not found
[ivy:retrieve]          :: org.hibernate#hibernate-validator;4.2.0.Final: not found
[ivy:retrieve]          :: joda-time#joda-time;2.0: not found
[ivy:retrieve]          :: com.thoughtworks.xstream#xstream;1.4.1: not found
[ivy:retrieve]          :: javax.servlet#servlet-api;2.5: not found
[ivy:retrieve]          :: javax.servlet.jsp#jsp-api;2.1: not found
[ivy:retrieve]          :: junit#junit;4.10: not found
[ivy:retrieve]          :: org.hamcrest#hamcrest-all;1.1: not found
[ivy:retrieve]          :: org.mockito#mockito-all;1.8.5: not found
[ivy:retrieve]          :: org.mortbay.jetty#jsp-api-2.1;6.1.14: not found
[ivy:retrieve]          :: org.mortbay.jetty#jsp-2.1;6.1.14: not found
[ivy:retrieve]          :: org.mortbay.jetty#jetty-ant;6.1.14: not found
[ivy:retrieve]          :: com.yahoo.platform.yui#yuicompressor;2.3.6: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]

Continuação 4

[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/br/com/caelum/vraptor/3.4.0/vraptor-3.4.0.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/br/com/caelum/vraptor/3.4.0/vraptor-3.4.0.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.2.4/hsqldb-2.2.4.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hsqldb/hsqldb/2.2.4/hsqldb-2.2.4.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/opensymphony/sitemesh/2.4.2/sitemesh-2.4.2.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/jstl/1.2/jstl-1.2.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/jstl/1.2/jstl-1.2.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.7.Final/hibernate-entitymanager-3.6.7.Final.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-entitymanager/3.6.7.Final/hibernate-entitymanager-3.6.7.Final.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-c3p0/3.6.7.Final/hibernate-c3p0-3.6.7.Final.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-c3p0/3.6.7.Final/hibernate-c3p0-3.6.7.Final.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-validator/4.2.0.Final/hibernate-validator-4.2.0.Final.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hibernate/hibernate-validator/4.2.0.Final/hibernate-validator-4.2.0.Final.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/joda-time/joda-time/2.0/joda-time-2.0.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/joda-time/joda-time/2.0/joda-time-2.0.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.4.1/xstream-1.4.1.pom

E esse foi todo o log gerado.

[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/thoughtworks/xstream/xstream/1.4.1/xstream-1.4.1.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/junit/junit/4.10/junit-4.10.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mockito/mockito-all/1.8.5/mockito-all-1.8.5.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-api-2.1/6.1.14/jsp-api-2.1-6.1.14.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jsp-2.1/6.1.14/jsp-2.1-6.1.14.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-ant/6.1.14/jetty-ant-6.1.14.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-ant/6.1.14/jetty-ant-6.1.14.jar
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/yahoo/platform/yui/yuicompressor/2.3.6/yuicompressor-2.3.6.pom
[ivy:retrieve]  SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/com/yahoo/platform/yui/yuicompressor/2.3.6/yuicompressor-2.3.6.jar
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C:\Users\Neverzin\Documents\leiloes\build.xml:26: impossible to resolve dependencies:
        resolve failed - see output for details

Total time: 11 seconds

Olá João, tudo bem?

Consegui resolver atualizando o ivy para a versão 2.5.0, seguindo as instruções na resposta a esse post: https://cursos.alura.com.br/forum/topico-build-failed-ao-executar-o-comando-ant-jetty-run-101014

Abraços e bons estudo!

Francisco