I’m trying to run “mvn verify” or “mvn vaadin:compile” to build my project and I’m getting all sorts of errors.
Environment
- Eclipse Mars
- Maven
- Vaadin 7.5.9
- maven-vaadin-application archetype
I simply created a new Maven project in Eclipse and added a few UI components to the project and now I’m trying to build it so I can test the app in Tomcat.
The erros are in compiling the widgetset as far as I can tell.
[INFO] Scanning for projects... [INFO][INFO]
[INFO]
Building web_ui 0.0.1-SNAPSHOT
[INFO]
[INFO]
[INFO]
vaadin-maven-plugin:7.5.9:compile (default-cli) > process-resources @ web_ui >>>
[INFO]
[INFO]
— vaadin-maven-plugin:7.5.9:update-theme (default) @ web_ui —
[INFO]
Updating theme VAADIN/themes/swiftsure
[INFO]
Widgetsets found from classpath:
[INFO]
com.swift.web_ui.SwiftSureWidgetset in file:/Users/chuck/repository-swift/web_ui/target/classes
[INFO]
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:/Users/chuck/.m2/repository/com/vaadin/vaadin/6.6.2/vaadin-6.6.2.jar!/
[INFO]
com.vaadin.DefaultWidgetSet in jar:file:/Users/chuck/.m2/repository/com/vaadin/vaadin-client/7.5.9/vaadin-client-7.5.9.jar!/
[INFO]
Addon styles found from classpath:
[INFO]
[INFO]
Search took 13ms
[INFO]
Theme “VAADIN/themes/swiftsure” updated
[INFO]
[INFO]
— maven-resources-plugin:2.6:resources (default-resources) @ web_ui —
[INFO]
Using ‘UTF-8’ encoding to copy filtered resources.
[INFO]
Copying 1 resource
[INFO]
[INFO]
<<< vaadin-maven-plugin:7.5.9:compile (default-cli) < process-resources @ web_ui <<<
[INFO]
[INFO]
— vaadin-maven-plugin:7.5.9:compile (default-cli) @ web_ui —
[INFO]
auto discovered modules [com.swift.web_ui.SwiftSureWidgetset]
[WARNING]
Failed to retrieve com.vaadin:vaadin-client-compiler based on project POM
[INFO]
Using com.vaadin:vaadin-client-compiler version 7.5.9
[INFO]
Compiling module com.swift.web_ui.SwiftSureWidgetset
[INFO]
Tracing compile failure path for type ‘com.google.gwt.dom.client.VaadinDOMImplSafari’
[INFO]
[ERROR]
Errors in ‘jar:file:/Users/chuck/.m2/repository/com/vaadin/vaadin/6.6.2/vaadin-6.6.2.jar!/com/google/gwt/dom/client/VaadinDOMImplSafari.java’
[INFO]
[ERROR]
Line 9: DOMImplSafari cannot be resolved to a type
[INFO]
[ERROR]
Line 11: The method getAbsoluteLeft(Element) of type VaadinDOMImplSafari must override or implement a supertype method
[INFO]
[ERROR]
Line 14: DOMImplSafari cannot be resolved to a type
[INFO]
[ERROR]
Line 18: The method getAbsoluteTop(Element) of type VaadinDOMImplSafari must override or implement a supertype method
[INFO]
[ERROR]
Line 21: DOMImplSafari cannot be resolved to a type
[INFO]
Tracing compile failure path for type ‘com.vaadin.terminal.gwt.client.VDebugConsole’
[INFO]
[ERROR]
Errors in ‘jar:file:/Users/chuck/.m2/repository/com/vaadin/vaadin/6.6.2/vaadin-6.6.2.jar!/com/vaadin/terminal/gwt/client/VDebugConsole.java’
[INFO]
[ERROR]
Line 426: The constructor TreeItem(String) is undefined
[INFO]
Tracing compile failure path for type ‘com.vaadin.terminal.gwt.client.VUIDLBrowser’
[INFO]
[ERROR]
Errors in ‘com/vaadin/terminal/gwt/client/VUIDLBrowser.java’
[INFO]
[ERROR]
Line 117: The method addItem(SafeHtml) in the type TreeItem is not applicable for the arguments (String)
[INFO]
[ERROR]
Line 195: The constructor TreeItem(String) is undefined
[INFO]
[ERROR]
Line 215: The method addItem(SafeHtml) in the type TreeItem is not applicable for the arguments (String)
[INFO]
[ERROR]
Line 197: The method addItem(SafeHtml) in the type TreeItem is not applicable for the arguments (String)
[INFO]
Tracing compile failure path for type ‘com.vaadin.terminal.gwt.client.HistoryImplIEVaadin’
[INFO]
[ERROR]
Errors in ‘com/vaadin/terminal/gwt/client/HistoryImplIEVaadin.java’
[INFO]
[ERROR]
Line 73: The method nativeUpdateOnEvent(String) of type HistoryImplIEVaadin must override or implement a supertype method
[INFO]
[ERROR]
Line 44: HistoryImpl cannot be resolved to a type
[INFO]
[ERROR]
Line 104: The method init() of type HistoryImplIEVaadin must override or implement a supertype method
[INFO]
[ERROR]
Line 117: The method setToken(String) is undefined for the type HistoryImplIEVaadin
[INFO]
[ERROR]
Line 119: The method getToken() is undefined for the type HistoryImplIEVaadin
[INFO]
[ERROR]
Line 35: The import com.google.gwt.user.client.impl.HistoryImpl cannot be resolved
[INFO]
[ERROR]
Line 64: The method nativeUpdate(String) of type HistoryImplIEVaadin must override or implement a supertype method
[INFO]
[ERROR]
Aborting compile due to errors in some input files
[INFO]
[INFO]
BUILD FAILURE
[INFO]
[INFO]
Total time: 01:38 min
[INFO]
Finished at: 2015-11-11T16:17:18-05:00
[INFO]
Final Memory: 12M/225M
[INFO]
[ERROR]
Failed to execute goal com.vaadin:vaadin-maven-plugin:7.5.9:compile (default-cli) on project web_ui:
[ERROR]
]] failed with status 1
[ERROR]
→ [Help 1]
[ERROR]
[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR]
For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Not sure what is needed to resolve the issues. Any help is appriciated.
Chuck