Unable to compile new widgetset


I’m digging into Vaadin and I’m trying to create my own component, using a GWT widget. Unfortunately, I’m currently unable to compile a widget set, or rather, the Vaadin Eclipse plugin is ignoring its existence.

The message is rather simple:

Compiling module com.packtpub.vaadin.widgetset.GwtIncubatorWidgetset
   Scanning for additional dependencies: jar:file:/D:/Developpement/workspaces/Eclipse/GWTWrappingApp/WebContent/WEB-INF/lib/vaadin-6.5.6.jar!/com/vaadin/terminal/gwt/client/WidgetSet.java
      Computing all possible rebind results for 'com.vaadin.terminal.gwt.client.WidgetMap'
         Rebinding com.vaadin.terminal.gwt.client.WidgetMap
            Invoking generator com.vaadin.terminal.gwt.widgetsetutils.EagerWidgetMapGenerator
 Widget class com.packtpub.vaadin.ui.client.VCollapsiblePanel was not found. The component com.packtpub.vaadin.ui.server.CollapsiblePanel will not be included in the widgetset.

The client UI component is the following:

package com.packtpub.vaadin.ui.client;

import com.google.gwt.gen2.complexpanel.client.CollapsiblePanel;
import com.vaadin.terminal.gwt.client.ApplicationConnection;
import com.vaadin.terminal.gwt.client.Paintable;
import com.vaadin.terminal.gwt.client.UIDL;

public class VCollapsiblePanel extends CollapsiblePanel implements Paintable {

	public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {

		client.updateComponent(this, uidl, true);

And the server component’s code is the following:

package com.packtpub.vaadin.ui.server;

import com.packtpub.vaadin.ui.client.VCollapsiblePanel;
import com.vaadin.ui.AbstractComponent;
import com.vaadin.ui.ClientWidget;

public class CollapsiblePanel extends AbstractComponent {

	private static final long serialVersionUID = 1L;

The intent is to use the CollapsiblePanel from the GWT Incubator.

I’d really appreciate your help on this, since it’s rather frustrating and I’m beginning to lose my nerves. I tries other GWT components, even out-of-the-box ones, with the same results.

Thanks for your time

Well, I found the answer to my own question:

  • first, I had to move the client component class under the widgetset.client.ui package
  • second, I had to manually reference the used GWT widget in the gwt.xml

Hope it will help someone.

I have the same problem.

How did you reference the widget in gwt.xml?

i tried

<inherits name="my.package.widgetset.client.ui.NewWidgetName">

but this doesn’t change anything.