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

2,045 views
Skip to first unread message

Manuel

unread,
Mar 1, 2013, 6:49:10 PM3/1/13
to google-we...@googlegroups.com
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

Manuel

unread,
Mar 1, 2013, 7:35:17 PM3/1/13
to google-we...@googlegroups.com
Sorry for the noise.
I had to put my server classes in the server folder instead of shared. That fixed my problems.

Regards,
Manuel
Reply all
Reply to author
Forward
0 new messages