Friday, March 1, 2013

Re: GWT Compile Error - Did I forget to inherit a required module?

Sorry for the noise.
I had to put my server classes in the server folder instead of shared. That fixed my problems.

Regards,
Manuel

Am Samstag, 2. März 2013 00:49:10 UTC+1 schrieb Manuel:
Hi everyone,

I implemented session-per-request from here.
Since then I got +7 Ignored compilation errors.

Does anyone know how to fix that ?

I tried  to add the following in my gwt.xml, but that didnt worked at all: <inherits name="com.google.inject.Guice" />
So how does that module stuff work? How do I know how to inherit them?
Im not familar with this, so any help is much appreciated.

Regards,
Manuel



ERROR LOG:
[ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/EntityManagerModule.java'
         [ERROR] Line 8: No source code is available for type com.google.inject.servlet.ServletModule; did you forget to inherit a required module?
         [ERROR] Line 10: No source code is available for type com.google.inject.persist.jpa.JpaPersistModule; did you forget to inherit a required module?
         [ERROR] Line 12: No source code is available for type com.google.inject.persist.PersistFilter; did you forget to inherit a required module?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/ExpensesRequestFactoryDeobfuscatorBuilder.java'
         [ERROR] 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?
         [ERROR] 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?
         [ERROR] 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?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/.apt_generated/de/mash/project/shared/MainRequestFactoryDeobfuscatorBuilder.java'
         [ERROR] 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?
         [ERROR] 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?
         [ERROR] 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?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyGuiceServletConfig.java'
         [ERROR] Line 13: No source code is available for type com.google.inject.servlet.GuiceServletContextListener; did you forget to inherit a required module?
         [ERROR] Line 16: No source code is available for type com.google.inject.Injector; did you forget to inherit a required module?
         [ERROR] Line 17: No source code is available for type com.google.inject.Guice; did you forget to inherit a required module?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyPersistFilter.java'
         [ERROR] Line 23: No source code is available for type javax.servlet.Filter; did you forget to inherit a required module?
         [ERROR] Line 24: No source code is available for type com.google.inject.persist.UnitOfWork; did you forget to inherit a required module?
         [ERROR] Line 25: No source code is available for type com.google.inject.persist.PersistService; did you forget to inherit a required module?
         [ERROR] Line 33: No source code is available for type javax.servlet.FilterConfig; did you forget to inherit a required module?
         [ERROR] Line 33: No source code is available for type javax.servlet.ServletException; did you forget to inherit a required module?
         [ERROR] Line 41: No source code is available for type javax.servlet.ServletRequest; did you forget to inherit a required module?
         [ERROR] Line 41: No source code is available for type javax.servlet.ServletResponse; did you forget to inherit a required module?
         [ERROR] Line 42: No source code is available for type javax.servlet.FilterChain; did you forget to inherit a required module?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/MyServletModule.java'
         [ERROR] Line 9: No source code is available for type com.google.inject.servlet.ServletModule; did you forget to inherit a required module?
         [ERROR] Line 12: No source code is available for type de.mash.project.server.entities.Worker; did you forget to inherit a required module?
         [ERROR] Line 13: No source code is available for type com.google.inject.persist.jpa.JpaPersistModule; did you forget to inherit a required module?
         [ERROR] Line 14: No source code is available for type com.google.inject.persist.PersistFilter; did you forget to inherit a required module?
      [ERROR] Errors in 'file:/C:/Users/Manuel/workspace_indigo_gwt/mash/src/de/mash/project/shared/myFilter.java'
         [ERROR] Line 22: No source code is available for type javax.servlet.Filter; did you forget to inherit a required module?
         [ERROR] Line 23: No source code is available for type javax.servlet.FilterConfig; did you forget to inherit a required module?
         [ERROR] Line 24: No source code is available for type javax.servlet.ServletException; did you forget to inherit a required module?
         [ERROR] Line 31: No source code is available for type javax.servlet.ServletRequest; did you forget to inherit a required module?
         [ERROR] Line 32: No source code is available for type javax.servlet.ServletResponse; did you forget to inherit a required module?
         [ERROR] Line 33: No source code is available for type javax.servlet.FilterChain; did you forget to inherit a required module?
   [ERROR] Aborting compile due to errors in some input files

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

No comments:

Post a Comment