Friday, April 27, 2012

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

Is there any chance if move on to maven or check 'Use google
appengine'( I am not using appengine) to make it work

On Apr 28, 11:13 am, saurabh saurabh <saurabh.bl...@gmail.com> wrote:
> I too have been banging my head for RequestFactory error 'The
> RequestFactory ValidationTool must be run for the ....'. I too have
> requestfactory-apt.jar on buid path. Done checking eclipse('helios')
> for annotation processing. I am quite frustrated at all and thinking
> on moving over gwt. Do we have any explicit way to revoke the
> validation tool or any straight solution to the problem like working
> from command line to run Validation tool or are there any parameters
> to give in run config. Please help!!! any link, any reference on net
> to explain in depth what is this validation tool and why n how it
> works. SOS!!!!!!
>
> On Apr 22, 4:03 pm, Prashant Hegde <prashant.he...@gmail.com> wrote:
>
>
>
>
>
>
>
> > encountered the same issue today, solved by changing the directory name from .apt_generated to .apt_generated1
>
> > Seems like that forces a revalidation.
>
> > Prashant
>
> > On 17-Apr-2012, at 1:08 AM, Felipe Stanham wrote:
>
> > > I Know this is old but I just got stuck with the same problem. Did you ever got around this and solved it?
>
> > > I'm really frustrated, I've tried everything I knew of, everything any blog speaks of and still no validation run!
>
> > > PLEASE HELP!!!
>
> > > On Sunday, January 15, 2012 12:32:56 AM UTC-2, TULC wrote:
> > > I'm still stuck on this.  Some projects I've ported to 2.4 now work,
> > > but others still just won't budge.  I have tried all the additional
> > > steps, but my *DeobfuscatorBuilder.java just won't appear in those
> > > projects (event thought the .apt_generated folder does, and is
> > > replaced if I change the name).  I have noticed some (though not all)
> > > of those projects are now giving me the error "build.properties does
> > > not exist", which may or may not be related.
>
> > > I'm frustrated to the point I'm considering ditching GWT altogether; I
> > > haven't been able to proceed with any GWT development since the 2.4
> > > upgrade.  Like the man said, I'm good, really I am, but I just can't
> > > figure this one out, and it really shouldn't be this hard.  Thanks for
> > > the breaking change.
>
> > > Evan
>
> > > On Dec 14 2011, 12:12 pm, dparish <dpar...@gmail.com> wrote:
> > > > I had the same problem. There are two other possible reasons you see
> > > > this:
>
> > > > 1. Your java compliance level in the project is set to 1.5
> > > > 2. Your classes are already compiled.  I don't know why, but touching
> > > > the my RequestContext classes had NO affect until I deleted the
> > > > classes that were compiled before I added annotations.  Now it all
> > > > works just fine.
>
> > > > Attention Google:
> > > > This stuff is waaaayyyy tooo complicated.  I'm good. really I am, but
> > > > this is just misdirection at it's worst.
>
> > > > On Nov 20, 5:47 pm, oerten25 <ozgur.er...@gmail.com> wrote:
>
> > > > > I've been getting the same error and tried the things mentioned in the
> > > > > discussion without any luck. Finally i realised that i don't have the
> > > > > "apt_generated" folder. So i changed the "generated source directory"
> > > > > option to something other than "apt_generated" in Annotation
> > > > > Processing setting. That fixed it.
>
> > > > > On Oct 2, 11:29 pm, TULC <evan.a.te...@gmail.com> wrote:
>
> > > > > > I just get the sameerroras posted by Eric at the beginning of the
> > > > > > thread, but I have copied/pasted the full dump below.
>
> > > > > > Thomas, I'm not sure what you mean about the .apt_generated being in
> > > > > > my build path?
>
> > > > > > Thanks for the help, guys...
> > > > > > Evan
>
> > > > > > Console:
> > > > > > log4j:WARN No appenders could be found for logger
> > > > > > (org.apache.jasper.compiler.Js
> > > > > > pRuntimeContext).
> > > > > > log4j:WARN Please initialize the log4j system properly.
> > > > > > log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig
> > > > > > for more in
> > > > > > fo.
> > > > > > 03/10/2011 8:24:49 AM
> > > > > > com.google.web.bindery.requestfactory.server.RequestFactor
> > > > > > yServlet doPost
> > > > > > SEVERE: Unexpectederror
> > > > > > java.lang.RuntimeException: TheRequestFactoryValidationToolmustberunfor th
> > > > > > e com.google.gwt.sample.dynatablerf.shared.DynaTableRequestFactory
> > > > > > RequestFactor
> > > > > > y type
> > > > > >         at com.google.web.bindery.requestfactory.vm.impl.Deobfuscator
> > > > > > $Builder.load(Deob
> > > > > > fuscator.java:59)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.updateDeo b
> > > > > > fuscator(ResolverServiceLayer.java:43)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveRe q
> > > > > > uestFactory(ResolverServiceLayer.java:176)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e
> > > > > > questFactory(ServiceLayerDecorator.java:172)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e
> > > > > > questFactory(ServiceLayerDecorator.java:172)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveR e
> > > > > > questFactory(ServiceLayerDecorator.java:172)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > >         at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > > > > > 39
> > > > > > )
> > > > > >         at
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l
> > > > > > .java:25)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:597)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ServiceLayerCache.getOrCache(S e
> > > > > > rviceLayerCache.java:233)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.ServiceLayerCache.resolveReque s
> > > > > > tFactory(ServiceLayerCache.java:198)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process (
> > > > > > SimpleRequestProcessor.java:207)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process (
> > > > > > SimpleRequestProcessor.java:127)
> > > > > >         at
> > > > > > com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(R e
> > > > > > questFactoryServlet.java:133)
> > > > > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> > > > > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > > > > >         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> > > > > > 487)
> > > > > >         at org.mortbay.jetty.servlet.ServletHandler
> > > > > > $CachedChain.doFilter(ServletHandler
> > > > > > .java:1097)
> > > > > >         at
> > > > > > com.google.gwt.sample.dynatablerf.server.SchoolCalendarService.doFilter(Sch o
> > > > > > olCalendarService.java:89)
> > > > > >         at org.mortbay.jetty.servlet.ServletHandler
> > > > > > $CachedChain.doFilter(ServletHandler
> > > > > > .java:1088)
> > > > > >         at
> > > > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> > > > > > 360)
> > > > > >         at
> > > > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> > > > > > 216)
> > > > > >         at
> > > > > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> > > > > > 181)
> > > > > >         at
> > > > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> > > > > > 729)
> > > > > >         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> > > > > > 405)
> > > > > >         at
> > > > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > > > > > 152)
> > > > > >         at
> > > > > > org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
> > > > > > 49
> > > > > > )
> > > > > >         at
> > > > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > > > > > 152)
> > > > > >         at org.mortbay.jetty.Server.handle(Server.java:324)
> > > > > >         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> > > > > > 505)
> > > > > >         at org.mortbay.jetty.HttpConnection
> > > > > > $RequestHandler.content(HttpConnection.java:
> > > > > > 843)
> > > > > >         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
> > > > > >         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
> > > > > >         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> > > > > >         at
> > > > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> > > > > > 395)
> > > > > >         at org.mortbay.thread.QueuedThreadPool
> > > > > > $PoolThread.run(QueuedThreadPool.java:488
> > > > > > )
> > > > > > [ERROR]500- POST /gwtRequest (127.0.0.1) 1420 bytes
> > > > > >    Request headers
> > > > > >       Host: 127.0.0.1:8888
> > > > > >       Connection: keep-alive
> > > > > >       Content-Length: 163
> > > > > >       Origin:http://127.0.0.1:8888
> > > > > >       X-GWT-Permutation: HostedMode
> > > > > >       pageurl:http://127.0.0.1:8888/DynaTableRf.html?gwt.codesvr=127.0.0.1:9997
> > > > > >       User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2
> > > > > > (KHTML, like Ge
> > > > > > cko) Chrome/15.0.854.0 Safari/535.2
> > > > > >       Content-Type: application/json; charset=UTF-8
> > > > > >       Accept: */*
> > > > > >       Referer:http://127.0.0.1:8888/DynaTableRf.html?gwt.codesvr=127.0.0.1:9997
> > > > > >       Accept-Encoding: gzip,deflate,sdch
> > > > > >       Accept-Language: en-US,en;q=0.8,en-AU;q=0.6
> > > > > >       Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
> > > > > >       Cookie: Favorites=
> > > > > >  ...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment