error when compiling GWT Vaadin Addon

Hi everyone

this is my first project using Vaadin (with Eclipse Springsource Tools Suite & Eclipse Virgo). I enjoy vaadin very much because it feels like i was programming in swing platform.

right now i try to use vaadin addon (TreeTable). Unfortunately i found this problem when i try to compile vaadin widget


Executing compiler with parameters [C:\Program Files (x86)\Java\jdk1.6.0_16\bin\java.exe, -Djava.awt.headless=true, -Xss8M, -Xmx512M, -XX:MaxPermSize=512M, -classpath, C:\Program Files (x86)\Java\jdk1.6.0_16\jre\lib\rt.jar;C:/dev/pjb.crt.enjiniring/src;C:/dev/pjb.crt.enjiniring/build/classes;E:/STS_2.5.0/sts-2.5.0.RELEASE/configuration/com.vaadin.integration.eclipse/download/gwt-dev/2.0.4/gwt-dev.jar;E:/STS_2.5.0/sts-2.5.0.RELEASE/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.0.4/gwt-user.jar;C:/dev/pjb.crt.enjiniring/WebContent/WEB-INF/lib/vaadin-6.4.8.jar;C:/dev/pjb.crt.enjiniring/WebContent/WEB-INF/lib/vaadin-treetable-1.0.0.jar, com.vaadin.tools.WidgetsetCompiler, -out, WebContent/VAADIN/widgetsets, -style, PRETTY, -draftCompile, -localWorkers, 7, -logLevel, INFO, pjb.crt.enjiniring.gui.widgetset.Pjb_crt_enjiniringWidgetset]

Updating GWT module description file...
26 Des 10 10:01:00 com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
	com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/dev/pjb.crt.enjiniring/WebContent/WEB-INF/lib/vaadin-6.4.8.jar!/
	pjb.crt.enjiniring.gui.widgetset.Pjb_crt_enjiniringWidgetset in file://C/dev/pjb.crt.enjiniring/src
	com.vaadin.addon.treetable.TreetableWidgetset in jar:file:C:/dev/pjb.crt.enjiniring/WebContent/WEB-INF/lib/vaadin-treetable-1.0.0.jar!/

Done.
Starting GWT compiler
Loading inherited module 'com.vaadin.addon.treetable.TreetableWidgetset'
   Loading inherited module 'com.vaadin.terminal.gwt.DefaultWidgetSet'
      Loading inherited module 'com.google.gwt.user.User'
[b]
         [ERROR]
 Unable to find 'com/google/gwt/user/User.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
[/b]
      [ERROR]
 Line 10: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:239)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:354)

this is my gwt.xml, generated automatically by IDE


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module>
    <inherits name="com.vaadin.addon.treetable.TreetableWidgetset" />
    <inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />
</module>

Since i’m new with vaadin, and i have zero experience with GWT, i absolutely don’t have any idea what kind of error is this…

please give me some light…

thanks…

Somewhere in this forum, this is an answer for this.

Quick thing you could do, however, create a new vaadin project,
From eclispe, check libraries under the build path, You should find VAADIN_DOWNLOAD/gwt-user/2.0.3/gwt-user.jar
& VAADIN_DOWNLOAD/gwt-dev/2.0.3/gwt-dev.jar

This two are probably missing from your present vaadin project.
11550.png

the thing that make this problem more difficult is those jar was already listed in my project

but fortunately, i can make it out now… problem came from gwt-user.jar… i already put it in my project, but that jar actually a broken one (corrupted jar)…

i replaced it with the new one, and GWT compiling was done just fine…

thanks for the reply…