I follow the instructions but not working. I get this error:
INFO: Widgetsets found from classpath: com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:Z:/vaadin/vaadin-6.7.1.jar!/ org.vaadin.peter.contextmenu.ContextmenuWidgetset in jar:file:Z:/NetBeans/Xinco/2.01.xx/XincoLibs/ContextMenu3.1.0.jar!/ getAvailableWidgetSets INFO: Search took 12ms Exception in thread "main" java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414) at java.io.File.getCanonicalPath(File.java:589) at com.vaadin.terminal.gwt.widgetsetutils.WidgetSetBuilder.updateWidgetSet(WidgetSetBuilder.java:79) at com.vaadin.terminal.gwt.widgetsetutils.WidgetSetBuilder.main(WidgetSetBuilder.java:52)
I found a related error , but it was published for a long time without a fix. Any ideas besides checking / modifying the code yourself?
Edit: If you look at the result, I noticed these errors:
Compiling module org.vaadin.peter.contextmenu.ContextmenuWidgetset Validating newly compiled units [ERROR] Errors in 'file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/Vaadin%20Addons/ContextMenu3-1-0/org/vaadin/peter/contextmenu/client/ui/VContextMenu.java' [ERROR] Line 1: The declared package "org.vaadin.peter.contextmenu.client.ui" does not match the expected package "ContextMenu3-1-0.org.vaadin.peter.contextmenu.client.ui" [ERROR] Line 5: The import org.vaadin.peter.contextmenu.client cannot be resolved [ERROR] Line 125: VMenuItem cannot be resolved to a type [ERROR] Line 174: VMenuItem cannot be resolved to a type [ERROR] Errors in 'file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/Vaadin%20Addons/ContextMenu3-1-0/org/vaadin/peter/contextmenu/client/ui/VMenu.java' [ERROR] Line 1: The declared package "org.vaadin.peter.contextmenu.client.ui" does not match the expected package "ContextMenu3-1-0.org.vaadin.peter.contextmenu.client.ui" [ERROR] Line 219: The method itemClicked(VMenuItem) from the type VContextMenu refers to the missing type VMenuItem [ERROR] Line 229: The method itemClicked(VMenuItem) from the type VContextMenu refers to the missing type VMenuItem [ERROR] Line 239: The method itemClicked(VMenuItem) from the type VContextMenu refers to the missing type VMenuItem [ERROR] Errors in 'jar:file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/gwt-user.jar!/com/google/gwt/editor/client/EditorDriver.java' [ERROR] Line 20: The import javax.validation.ConstraintViolation cannot be resolved [ERROR] Line 97: ConstraintViolation cannot be resolved to a type [ERROR] Errors in 'jar:file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/gwt-user.jar!/com/google/gwt/editor/client/impl/AbstractSimpleBeanEditorDriver.java' [ERROR] Line 28: Name clash: The method setConstraintViolations(Iterable<ConstraintViolation<?>>) of type BaseEditorDriver<T,E> has the same erasure as setConstraintViolations(Iterable<ConstraintViolation<?>>) of type EditorDriver<T> but does not override it [ERROR] Errors in 'jar:file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/gwt-user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java' [ERROR] Line 31: The import javax.validation.ConstraintViolation cannot be resolved [ERROR] Line 67: ConstraintViolation cannot be resolved to a type [ERROR] Errors in 'jar:file:/Z:/NetBeans/Xinco/3.00.xx/XincoLibs/gwt-user.jar!/com/google/gwt/editor/client/impl/SimpleViolation.java' [ERROR] Line 25: The import javax.validation.ConstraintViolation cannot be resolved [ERROR] Line 40: ConstraintViolation cannot be resolved to a type [ERROR] Line 43: ConstraintViolation cannot be resolved to a type [ERROR] Line 44: Missing code implementation in the compiler [ERROR] Line 49: ConstraintViolation cannot be resolved to a type [ERROR] Line 49: Missing code implementation in the compiler [ERROR] Line 70: ConstraintViolation cannot be resolved to a type [ERROR] Line 72: ConstraintViolation cannot be resolved to a type [ERROR] Line 73: ConstraintViolation<?> cannot be resolved to a type [ERROR] Line 77: ConstraintViolation<capture
I found this message about this problem indicating a library mismatch, but I am using banks from Vaadin SCM for the correct version: https://vaadin.com/forum/-/message_boards/view_message/384826
source share