[ERROR] Unable to find 'com/google/gwt/core/Core.gwt.xml' on your classpath

After creating a new Vaadin project using the following command:

mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application -DarchetypeVersion=7.7.6 -DgroupId=com.noasic -DartifactId=myproject -Dversion=0.1 -Dpackaging=war

… and adding the
component to it, I get the following build error in Eclipse:

— vaadin-maven-plugin:7.7.6:compile (default) @ myproject —
auto discovered modules [AppWidgetset]

Using com.vaadin:vaadin-client version 7.7.6
Using com.vaadin:vaadin-client-compiler version 7.7.6
Loading inherited module ‘AppWidgetset’
Loading inherited module ‘com.google.gwt.core.Core’
Unable to find ‘com/google/gwt/core/Core.gwt.xml’ on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?

What could be the reason for this?


Did you try to rebuild the project using
mvn clean install
after adding the dependency in your pom.xml? If you do the build, does that produce an error?

Does your demo’s gwt.xml contain

I think that should be included automatically on a maven build, but please check.


Hi Adam,

rebuilding the project using
mvn clean install
has not effect. It gives the same error. Also, I don’t have any
in my project.


I cannot reproduce the issue, can you explain how exactly do you add the TreeGrid component to your project after you created it using the archetype?

If you don’t have your own *.gwt.xml, one will be generated for you under target/generated-resources/gwt/AppWidgetset.gwt.xml. Coud you check if it inherits TreeGrid’s widgetset?