boa tarde, estou com um problema estranho, quando rodo uma aplicação pelo Eclipse, o sistema funciona corretamente, quanto gero um jar, e rodo por linha de comando, as injeções de dependências não funcionam, todos os objetos que deveriam ser injetados vem nulos, o que pode estar ocasionando este problema?
a aplicação usa Jetty como servidor embutido, Maven, abaixo está a stack-trace.
2498 [main] INFO quickfix.SocketInitiator - SessionTimer started
2499 [main] INFO org.eclipse.jetty.server.Server - jetty-7.x.y-SNAPSHOT
3600 [main] INFO org.jboss.weld.Bootstrap - WELD-000101 Transactional services n
ot available. Injection of @Inject UserTransaction not available. Transactional
observers will be invoked synchronously.
3636 [main] INFO org.jboss.weld.environment.jetty.Jetty7Container - Jetty detect
ed, JSR-299 injection will be available in Servlets and Filters. Injection into
Listeners is not supported.
27/02/2013 18:00:55 org.jboss.weld.environment.jetty.EclipseWeldServletHandler p
rocess
INFO: Cannot find matching WebApplicationContext, no default CDI support: use je
tty-web.xml
3713 [main] INFO org.eclipse.jetty.server.handler.ContextHandler - started o.e.j
.s.ServletContextHandler{/,null}
3727 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started SelectChan
[email protected]:8086