Hi there,
We have been working with Vaadin 6 and Netbeans for a while now and we are really happy sofar.
Now we are trying to setup and run Vaadin 7 applications, but it is becoming a headache since we are not able to compile the widgetset.
Here is my output. Apparently we are using incompatible versions from what I have learned from other posts.
Would be great if someone could give a hint.
Many thanks in advance.
Find attached the POM file.
I am using Netbeans 8.0 + Vaadin 7.0 (tried 7.4.3 before but had same bad luck)
The error info is huge as usual, so I paste only some lines which should give an idea to an experienced user:
cd C:\Users\Xavier\Documents\NetBeansProjects\mavenproject5; “JAVA_HOME=C:\Program Files\Java\jdk1.7.0_25” cmd /c “""C:\Program Files\NetBeans 8.0.2\java\maven\bin\mvn.bat" -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.0.2\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 vaadin:compile"”
Scanning for projects…
Building Vaadin Web Application 1.0-SNAPSHOT
vaadin-maven-plugin:7.0-SNAPSHOT:compile (default-cli) @ mavenproject5 >>>
— maven-resources-plugin:2.5:resources (default-resources) @ mavenproject5 —
[debug]
execute contextualize
Using ‘UTF-8’ encoding to copy filtered resources.
Copying 0 resource
— vaadin-maven-plugin:7.0-SNAPSHOT:resources (default) @ mavenproject5 —
auto discovered modules [com.mycompany.mavenproject5.AppWidgetSet]
1 source files from GWT module com.mycompany.mavenproject5.AppWidgetSet
<<< vaadin-maven-plugin:7.0-SNAPSHOT:compile (default-cli) @ mavenproject5 <<<
Downloading: http://maven.vaadin.com/vaadin-addons/com/vaadin/vaadin-maven-plugin/7.0.0/vaadin-maven-plugin-7.0.0.jar
Downloading: http://repo.maven.apache.org/maven2/com/vaadin/vaadin-maven-plugin/7.0.0/vaadin-maven-plugin-7.0.0.jar
Downloaded: http://repo.maven.apache.org/maven2/com/vaadin/vaadin-maven-plugin/7.0.0/vaadin-maven-plugin-7.0.0.jar (187 KB at 225.3 KB/sec)
— vaadin-maven-plugin:7.0-SNAPSHOT:compile (default-cli) @ mavenproject5 —
auto discovered modules [com.mycompany.mavenproject5.AppWidgetSet]
abr 14, 2015 6:16:19 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
Compiling module com.mycompany.mavenproject5.AppWidgetSet
Validating units:
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/ApplicationConfiguration.java’
[ERROR]
Line 223: ApplicationConstants.PORTLET_RESOUCE_URL_BASE cannot be resolved
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/ApplicationConnection.java’
[ERROR]
Line 622: ApplicationConstants.UIDL_REQUEST_PATH cannot be resolved
[ERROR]
Line 2010: The method getLastonlyTag() is undefined for the type MethodInvocation
[ERROR]
Line 2591: ApplicationConstants.CONNECTOR_PROTOCOL_PREFIX cannot be resolved
[ERROR]
Line 2596: ApplicationConstants.CONNECTOR_RESOURCE_PREFIX cannot be resolved
[ERROR]
Line 2598: ApplicationConstants.CONNECTOR_PROTOCOL_PREFIX cannot be resolved
[ERROR]
Line 2863: ApplicationConstants.HEARTBEAT_REQUEST_PATH cannot be resolved
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/MouseEventDetailsBuilder.java’
[ERROR]
Line 61: The method setButton(MouseEventDetails.MouseButton) in the type MouseEventDetails is not applicable for the arguments (int)
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/Util.java’
[ERROR]
Line 524: The method isUndefinedHeight(AbstractComponentState) in the type ComponentStateUtil is not applicable for the arguments (ComponentState)
[ERROR]
Line 525: The method isUndefinedWidth(AbstractComponentState) in the type ComponentStateUtil is not applicable for the arguments (ComponentState)
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/VCaption.java’
[ERROR]
Line 114: The method hasStyles(AbstractComponentState) in the type ComponentStateUtil is not applicable for the arguments (ComponentState)
[ERROR]
Line 128: Incompatible conditional operand types ComponentState and AbstractFieldState
[ERROR]
Line 129: Cannot cast from ComponentState to AbstractFieldState
[ERROR]
Line 195: The method hasDescription(AbstractComponentState) in the type ComponentStateUtil is not applicable for the arguments (ComponentState)
[ERROR]
Errors in ‘jar:file:/C:/Users/Xavier/.m2/repository/com/vaadin/vaadin/7.0-SNAPSHOT/vaadin-7.0-SNAPSHOT.jar!/com/vaadin/client/ui/AbstractComponentConnector.java’
18930.xml (6.24 KB)