On Friday, February 11, 2011 7:26:11 AM UTC+1, Sarjith wrote: > > > On Fri, Feb 11, 2011 at 11:41 AM, Y2i <[email protected]> wrote: > >> There should be something like this in app's web.xml >> >> <servlet> >> <servlet-name>requestFactory</servlet-name> >> >> <servlet-class>com.google.gwt.requestfactory.server.RequestFactoryServlet</servlet-class> >> </servlet> >> <servlet-mapping> >> <servlet-name>requestFactory</servlet-name> >> <url-pattern>/gwtRequest</url-pattern> >> </servlet-mapping> >> >> > Yes, Its already there in my web.xml. > > And this is the error I can see in my eclipse console. > > > 11 Feb, 2011 11:48:04 AM > com.google.gwt.requestfactory.server.ReflectiveServiceLayer <clinit> > INFO: Unable to initialize a JSR 303 Bean Validator > javax.validation.ValidationException: Unable to find a default provider >
That's "normal" if you don't include a JSR 303 bean validator (such as Hibernate-validator). It means you cannot use JSR 303 bean validation, but it's not a "fatal error" (hence the "INFO" log level). 11 Feb, 2011 11:48:04 AM com.sample.model.Customer > SEVERE: There is no getVersion() method in type com.sample.model.Customer > 11 Feb, 2011 11:48:04 AM com.sample.model.Customer > SEVERE: There is no findCustomer method in type com.sample.model.Customer > that returns com.sample.model.Customer > > 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer > SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as > bad > 11 Feb, 2011 11:48:04 AM > com.sample.shared.SampleRequestFactory.CustomerRequest > com.google.gwt.requestfactory.shared.Request getRandomCustomer() > SEVERE: The method getRandomCustomer is declared to return > com.google.gwt.requestfactory.shared.Request, but the service method is not > static > 11 Feb, 2011 11:48:04 AM com.google.gwt.requestfactory.server.ServiceLayer > SEVERE: Type type com.sample.shared.CustomerProxy was previously marked as > bad > 11 Feb, 2011 11:48:04 AM > com.google.gwt.requestfactory.server.ServiceLayerDecorator die > SEVERE: The RequestContext type > com.sample.shared.SampleRequestFactory$CustomerRequest did not pass > validation > Well, the fixes should be straightforward (and if they're not, read the docs again, if they're still not, then ask here ;-) ). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
