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
" AND
“” 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());
    

    }

}

  1. Add the setting of TouchKit in ivy

  2. Add TouchKit in MobileWidgetSet

  3. Compile WidgetSet

  4. Launch and access the application

  5. 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.

22248.png