1
resposta

Ant HTTP ERROR: 503

Li em outro topico anterior que o colega fez um fez um downgrade é funcionou. Pórem, Voltei do java 10 pro 8 não deu certo.

Estou tentado executar o projeto no MAC

O log de erro do ant foi este abaixo:

etty.run:
    [jetty] Configuring Jetty for project: vraptor-scaffold
    [jetty] 2018-10-05 02:56:48.702::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
    [jetty] 
    [jetty] Configuring Jetty for web application: leiloes
    [jetty] Webapp source directory = /Users/silvia/Downloads/leiloes/src/main/webapp
    [jetty] Context path = /
    [jetty] Classpath = []
    [jetty] Default scanned paths = []
    [jetty] Extra scan targets = [/Users/silvia/Downloads/leiloes/src/main/webapp/WEB-INF/classes]
    [jetty] Temp directory = /Users/silvia/Downloads/leiloes/target/jetty-temp/
    [jetty] web.xml file = /Users/silvia/Downloads/leiloes/src/main/webapp/WEB-INF/web.xml
    [jetty] 2018-10-05 02:56:48.852::INFO:  jetty-6.1.x
    [jetty] 2018-10-05 02:56:49.143::INFO:  org.mortbay.jetty.ant.JettyWebAppConfiguration does not support annotations on source. Use org.mortbay.jetty.annotations.Configuration instead
    [jetty] 2018-10-05 02:56:49.146::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
    [jetty] 18-10-05 02:56:49,407 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - Using class br.com.caelum.vraptor.ioc.spring.SpringProvider as Container Provider
    [jetty] 18-10-05 02:56:49,428 [INFO] br.com.caelum.vraptor.ioc.spring.DefaultSpringLocator - No application context found
    [jetty] 18-10-05 02:56:49,489 [INFO] br.com.caelum.vraptor.scan.WebAppBootstrapFactory - No static WebAppBootstrap found.
    [jetty] 18-10-05 02:56:49,489 [INFO] br.com.caelum.vraptor.config.BasicConfiguration - br.com.caelum.vraptor.scanning = null
    [jetty] 2018-10-05 02:56:49.552::WARN:  failed vraptor
    [jetty] br.com.caelum.vraptor.scan.ScannerException: Could not scan WEB-INF/classes
    [jetty]     at br.com.caelum.vraptor.scan.ScannotationComponentScanner.scanWebInfClasses(ScannotationComponentScanner.java:74)
    [jetty]     at br.com.caelum.vraptor.scan.ScannotationComponentScanner.scan(ScannotationComponentScanner.java:57)
    [jetty]     at br.com.caelum.vraptor.scan.WebAppBootstrapFactory.create(WebAppBootstrapFactory.java:65)
    [jetty]     at br.com.caelum.vraptor.ioc.spring.SpringProvider.start(SpringProvider.java:83)
    [jetty]     at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:110)
    [jetty]     at br.com.caelum.vraptor.VRaptor.init(VRaptor.java:103)
    [jetty]     at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
    [jetty]     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [jetty]     at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:620)
    [jetty]     at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    [jetty]     at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
    [jetty]     at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    [jetty]     at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
    [jetty]     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [jetty]     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    [jetty]     at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    [jetty]     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [jetty]     at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    [jetty]     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [jetty]     at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    [jetty]     at org.mortbay.jetty.Server.doStart(Server.java:222)
    [jetty]     at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    [jetty]     at org.mortbay.jetty.ant.ServerProxyImpl.start(ServerProxyImpl.java:209)
    [jetty]     at org.mortbay.jetty.ant.JettyRunTask.execute(JettyRunTask.java:204)
    [jetty]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    [jetty]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [jetty]     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
oje
1 resposta

Oi Silvia, tudo bem? estou procurando alguém pra te ajudar nessa questão. Mas como já fazem alguns dias que o tópico foi aberto, preciso saber, você teve algum progresso?

Olha, pelo erro, tá descrito que não foi encontrado um transation manager: No Transaction manager found

E diz também que a JettyWebAppConfiguration não suporta anotações. Diz pra usar a Configuration.

Isso ajuda?