No need to apologize. The setup is a bit mysterious until you see it work together. Good luck.
On 6/21/11, Gabriel Cardelli <[email protected]> wrote: > Ok Chris, sorry. > > I'm configuring. > *-----------------------------------* > * Gabriel Cardelli > ** Software Developer > ** **gabrcardelli.appspot.com* > * > ----------------------------------- > * > * > > > * > > > > 2011/6/21 Christopher Currie <[email protected]> > >> You need to have *some* servlet in web.xml, or the filter won't get >> called. Typical practice is to have a simple servlet, bound to '/' (as >> the default servlet), that logs an error, since it should not be >> called if the Guice Filter is handling the requests. Look at the >> j4-minimal project I referenced for an example. >> >> C >> >> On Tue, Jun 21, 2011 at 4:21 PM, Gabriel Cardelli >> <[email protected]> wrote: >> > When I delete the mapping of the web.xml I get the following error >> > HTTP Status 404 - /eventos / ws / evento >> > >> > With the WEB.XML mapping ( Success but not inject ) >> > INFO - uiceServletContextListener - getInject() - Executando >> > INFO - EventosModule - Configurando Modulo - Eventos >> > INFO - EventosModule - Cofigurando Modulo JPA >> > 21/06/2011 18:53:49 com.sun.jersey.api.core.PackagesResourceConfig init >> > INFO: Scanning for root resource and provider classes in the packages: >> > br.impa.apps.eventos.ws >> > 21/06/2011 18:53:49 com.sun.jersey.api.core.ScanningResourceConfig >> > logClasses >> > INFO: Root resource classes found: >> > class br.impa.apps.eventos.ws.EventoWS >> > 21/06/2011 18:53:49 com.sun.jersey.api.core.ScanningResourceConfig init >> > INFO: No provider classes found. >> > 21/06/2011 18:53:50 >> > com.sun.jersey.server.impl.application.WebApplicationImpl _i >> > nitiate >> > INFO: Initiating Jersey application, version 'Jersey: 1.7 05/20/2011 >> 11:04 >> > AM' >> > Without the WEB.XML mapping ( 404 ) >> > INFO - uiceServletContextListener - getInject() - Executando >> > INFO - EventosModule - Configurando Modulo - Eventos >> > 21/06/2011 20:15:58 org.apache.catalina.startup.HostConfig >> deployDirectory >> > INFO: Deploying web application directory docs >> > 21/06/2011 20:15:58 org.apache.catalina.startup.HostConfig >> deployDirectory >> > INFO: Deploying web application directory examples >> > 21/06/2011 20:15:59 org.apache.catalina.startup.HostConfig >> deployDirectory >> > INFO: Deploying web application directory host-manager >> > 21/06/2011 20:15:59 org.apache.catalina.startup.HostConfig >> deployDirectory >> > INFO: Deploying web application directory manager >> > Estou tentando resolver o problema, qualquer avanço eu digo. >> > ----------------------------------- >> > Gabriel Cardelli >> > Software Developer >> > gabrcardelli.appspot.com >> > ----------------------------------- >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "google-guice" group. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/google-guice?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-guice?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > > -- Sent from my mobile device -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
