Wednesday, February 22, 2012

Re: Deploy GWT App to Tomcat - Validation Errors

I used ti had this kind of problems.

First see this: 

And make sure there are not errors. Then clean the project then build.

And finally compile to deploy


Good look.

2012/2/20 Henry Crocker <whc987@gmail.com>
I have a very small sample GWT application that I created as a proof
of concept for my company.  The goal was to use existing DAOs and
Beans along with the RequestFactory to access and display data.  It
appears I am very close to getting this to work.  I see the following
in my tomcat log:

SEVERE: Unexptected error java.lan.RuntimeException: The
RequestFactory ValidationTool must be run for the
com.ca.queueanagertoo.shared.QueueManagerToolRequestFactory
RequestFactory type at
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator#Builder.load(Deobfuscator.java:
59)..........

I receive the following during compile from eclipse:

  Validating newly compiled units
     Errors in 'file:/C:/home/workspaces/harvest-indigo/
queueManagerTool/.apt_generated/com/ca/queuemanagertool/shared/
QueueManagerToolRequestFactoryDeobfuscatorBuilder.java'
        Line 7: No source code is available for type
com.google.web.bindery.requestfactory.vm.impl.Deobfuscator.Builder;
did you forget to inherit a required module?
        Line 9: No source code is available for type
com.google.web.bindery.requestfactory.vm.impl.OperationKey; did you
forget to inherit a required module?
        Line 10: No source code is available for type
com.google.web.bindery.requestfactory.vm.impl.OperationData.Builder;
did you forget to inherit a required module?
  Removing invalidated units
  Finding entry point classes

I have seen comments that the eclipse error does not matter; however,
the tomcat log seems to disagree.

I have included the hibernate-validator-4.1.0.Final.jar in the WEB-INF/
lib directory.

I have been working on this for two days.  I need some assitance to
move forward.

Thanks.

--
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.




--
ISC. Daniel Mauricio Patiño León.
Director ejecutivo
Liondev S.A. de C.V.



--
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