Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Unable to find 'com/vaadin/DefaultWidgetSet.gwt.xml' on your classpath;
hi every body,
i'm trying to use a simple vaadin 6.8 addons with maven project. i followed the same setps on the vaadin 6 book "https://vaadin.com/directory/help/using-vaadin-add-ons/maven" but the problems persist always with any add ons.
i don't think that the problem provide from the pom.xml or the web.xml but it's may be the myAppWidgetSet.gwt.xml.
when i add dependency on the pom.xml, this myAppWidgetSet.gwt.xml is automatically modified with some syntax like
"<inherits name="org.vaadin.peter.contextmenu.ContextmenuWidgetset" /> AND
"<inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />" is added and the last one is the source of the problems.
i can share more information if it's needed.
i tried many alternatifs but it's always the same.
if you have any detailed tutorial for using add-ons with maven project please share it.
thanks for your support
The same problem when using add-ons TouchKit , please help:
1. Create a project named mobile (refert to the attachment) and copy the code as the manual
@SuppressWarnings("serial")
@Theme("mobile")
@Title("My Mobile App")
public class MobileUI extends UI {
@WebServlet(value = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = false, ui = MobileUI.class)
public static class Servlet extends VaadinServlet {
}
@Override
protected void init(VaadinRequest request) {
// Define a view
class MyView extends NavigationView {
public MyView() {
super("Planet Details");
CssLayout content = new CssLayout();
setContent(content);
VerticalComponentGroup group =
new VerticalComponentGroup();
content.addComponent(group);
group.addComponent(new TextField("Planet"));
group.addComponent(new NumberField("Found"));
group.addComponent(new Switch("Probed"));
setRightComponent(new Button("OK"));
}
}
// Use it as the content root
setContent(new MyView());
}
}
2. Add the setting of TouchKit in ivy
3. Add TouchKit in MobileWidgetSet
<inherits name="com.vaadin.addon.touchkit.gwt.TouchKitWidgetSet" />
4. Compile WidgetSet
5. Launch and access the application
6. Report the following message
Widgetset 'com.vaadin.DefaultWidgetSet' does not contain implementation for null. Check its component connector's @Connect mapping, widgetsets GWT module description file and re-compile your widgetset. In case you have downloaded a vaadin add-on package, you might want to refer to add-on instructions.