Vaadin 6.4 update problem


I have a problem with updating my app to Vaadin 6.4.0 (from 6.3.3). When I try to recompile my widgetset I always get


using GWT jars from project dependencies : 2.0.3
auto discovered modules [cz.flexibla.admin.MyAppWidgetSet]

establishing classpath list (scope = compile)
Compiling module cz.flexibla.admin.MyAppWidgetSet
   Finding entry point classes
 Unable to find type 'com.vaadin.terminal.gwt.client.DefaultWidgetSet'
 Hint: Check that the type name 'com.vaadin.terminal.gwt.client.DefaultWidgetSet' is really what you meant
 Hint: Check that your classpath includes all required source roots

My gwt xml is

<?xml version="1.0" encoding="UTF-8"?>
    "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN"

        This is needed because of a bug in gwt-maven-plugin 1.2
        modules without entry points are never compiled.
    <entry-point class="com.vaadin.terminal.gwt.client.DefaultWidgetSet" />

    <inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />


    <inherits name="org.vaadin.codemirror.CodemirrorWidgetset" />

    <set-property name="user.agent" value="opera" />

    <inherits name="com.vaadin.addon.treetable.TreetableWidgetset" />

As I looked into the vaadin 6.4 jar, i have discovered, that the class DefaultWidgetSet is no longer included, but I havent found any solutions in 6.4 changelog…

so my question is simple…how to modify my gwt.xml to make it work (or if there is some new version of vaadin maven plugin, that solves this issue for me).



Just remove the entry point row (along with the comment above it), and make sure you are using the version 1.3-SNAPSHOT of gwt-maven-plugin. The latest archetype versions (1.3.0) are correct, but your project seems to have been created with an older archetype version.

While the class DefaultWidgetSet has been removed, the inherits statement is correct - it refers to the DefaultWidgetSet.gwt.xml file, which still exists.

The client-side structure has changed a bit, the [tt]
[/tt] shouldn’t be used any more and you should remove it altogether. The changes were done earlier, but the [tt]
[/tt] class was removed altogether in 6.4, so using it now gives an error. Maybe your .gwt.xml is much older and still refers to the old class. But, just remove the [tt]
[/tt] line and you should be ok.

Thanks to both of you, it works now.