Ошибка GWT при компиляции при использовании сторонних классов
Моё приложение использует GWT и для решения моей задачи мне нужно использовать рефлексию. Я пишу свой ReflectionService который наследуется от Generator (также в нём используются классы GeneratorContext, TreeLogger и java.lang.reflect.Field).
public class ReflectionService extends Generator{
@Override
public String generate(TreeLogger treeLogger, GeneratorContext generatorContext, String s) throws UnableToCompleteException {
return null;
}
}
При компиляции мне выдаёт ошибку:
GWT Compiler: ru.nvacenter.bis.core.client.services.ReflectionService cannot be resolved to a type
GWT Compiler: No source code is available for type com.google.gwt.core.ext.Generator; did you forget to inherit a required module?
GWT Compiler: No source code is available for type com.google.gwt.core.ext.TreeLogger; did you forget to inherit a required module?
GWT Compiler: No source code is available for type com.google.gwt.core.ext.UnableToCompleteException; did you forget to inherit a required module?
GWT Compiler: No source code is available for type com.google.gwt.core.ext.GeneratorContext; did you forget to inherit a required module?
Мой .gwt.xml имеет следующие зависимости
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.common.base.Base' />
<inherits name='com.google.common.collect.Collect' />
<inherits name='com.google.web.bindery.requestfactory.RequestFactory' />
<inherits name="com.google.gwt.activity.Activity" />
<inherits name="com.google.gwt.place.Place" />
<inherits name="com.google.gwt.resources.Resources" />
<inherits name='com.google.gwt.logging.Logging' />
<inherits name='com.google.gwt.inject.Inject'/>
<inherits name='com.google.gwt.query.Query' />