Vaadin 6 easyuploads addon not working

Hi,
I am creating an application with vaadin 6.5. The application require multiple file upload. So i used easyuploads addon. But while running the application i get the following exception message in my browser But the widgetset compilation completed successfully with no errors.

Widgetset does not contain implementation for org.vaadin.easyuploads.MultiUpload. Check its @ClientWidget 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. Unrendered UIDL:
+Unrendered UIDL

And my main application is :

        MultiFileUpload multiFileUpload = new MultiFileUpload() {
            /**
             * 
             */
            private static final long serialVersionUID = 1L;

            @Override
            protected void handleFile(File file, String fileName,
                    String mimeType, long length) {
                String msg = fileName + " uploaded. Saved to temp file "
                + file.getAbsolutePath() + " (size " + length
                + " bytes)";
                mainWindow.showNotification(msg);
            }
        };
        multiFileUpload.setCaption("MultiFileUpload");
        mainWindow.addComponent(multiFileUpload);
        mainWindow.addComponent(hr());

        MultiFileUpload upload = new MultiFileUpload() {

            /**
             * 
             */
            private static final long serialVersionUID = 1L;

            @Override
            protected void handleFile(File file, String fileName, String mimeType,
                    long length) {
                String msg = fileName + " uploaded. Saved to temp file "
                + file.getAbsolutePath() + " (size " + length
                + " bytes)";
                mainWindow.showNotification(msg);
            }
            @Override
            protected FileBuffer createReceiver() {
                FileBuffer receiver = super.createReceiver();
                /*
                 * Make receiver not to delete files after they have been
                 * handled by #handleFile().
                 */
                receiver.setDeleteFiles(false);
                
                return receiver;
            }
        };
        upload.setCaption("Multifile upload");
        upload.setRootDirectory(TEMP_FILE_DIR);
        mainWindow.addComponent(upload);

Please help me to resolve this isssue!

Thanks and Regards, Vignesh

please can anyone help me in this issue?

Hi,

Your Vaadin version seems to be bit old (V6 branch goes at 6.8.xx). That might be issue or something else, hard to say.

  • check the widgetset compilation log and verify add-on specific stuff is there
  • if not, try to recompile with “strict” mode (e.g. add true to GWT maven plugins conf) and see for issues
  • if add-on specific components are on compilation log, it must be issue deploying new widgetset to your development server

cheers,
matti

Hi,
Thanks for the reply.
I tried with vaadin verion 6.8.5 but still the same error prevails.

The addon specific log entry are seen during widgetset compilation.
Im not using maven.
So what will be the cause of this issue?

Regards,
Vignesh

I am getting the same issue, while compiling widgeset i am getting below warning

=================================================
Dec 12, 2013 1:58:54 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables…
Dec 12, 2013 1:58:55 PM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 636ms
[WARN]
Widget class org.vaadin.easyuploads.client.ui.VMultiUpload was not found. The component org.vaadin.easyuploads.MultiUpload will not be included in the widgetset.