I have problems with the migration to Vaadin 8.
Here are my dependencies:
vaadin-compatibility-server
vaadin-compatibility-themes
vaadin-compatibility-client-compiled
vaadin-spring
vaadin-spring-boot
confirmdialog
When compiling I see:
Widgetsets found from classpath:
com.eqs.lei.LeiWidgetset in file:/C:/Users/rolandp/git/lei-gitlab/src/main/resources
com.vaadin.DefaultWidgetSet in jar:file:C:/Users/rolandp/.m2/repository/com/vaadin/vaadin-client/8.0.0/vaadin-client-8.0.0.jar!/
Then this error:
06.03.17, 12:16:54 MEZ: [ERROR]
Mär 06, 2017 12:16:54 PM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
06.03.17, 12:16:54 MEZ: [ERROR]
SCHWERWIEGEND: Import ‘…/valo/valo.scss’ in ‘C:\Users\rolandp\git\lei-gitlab\src\main\resources\VAADIN\themes\lei\styles.scss’ could not be found
06.03.17, 12:16:54 MEZ: [ERROR]
Mär 06, 2017 12:16:54 PM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
06.03.17, 12:16:54 MEZ: [ERROR]
SCHWERWIEGEND: Mixin Definition: valo not found
It always overwrites my LeiWidgetset.gwt.xml with
but I think I need com.vaadin.v7.Vaadin7WidgetSet in there.
Unfortunately not. Also tried replacing @Widgetset(“com.eqs.lei.LeiWidgetset”) with @Widgetset(“com.vaadin.v7.Vaadin7WidgetSet”), still the same error.
Yes, I have my own widgetset. Compilation still stops with the same error:
07.03.17, 09:23:46 MEZ: [INFO]
Widgetsets found from classpath:
07.03.17, 09:23:46 MEZ: [INFO]
com.vaadin.v7.Vaadin7WidgetSet in jar:file:C:/Users/rolandp/.m2/repository/com/vaadin/vaadin-compatibility-client/8.0.0/vaadin-compatibility-client-8.0.0.jar!/
07.03.17, 09:23:46 MEZ: [INFO]
com.eqs.lei.LeiWidgetset in file:/C:/Users/rolandp/git/lei-gitlab/src/main/resources
07.03.17, 09:23:46 MEZ: [INFO]
com.vaadin.DefaultWidgetSet in jar:file:C:/Users/rolandp/.m2/repository/com/vaadin/vaadin-client/8.0.0/vaadin-client-8.0.0.jar!/
07.03.17, 09:23:46 MEZ: [INFO]
Addon styles found from classpath:
07.03.17, 09:23:46 MEZ: [INFO]
07.03.17, 09:23:46 MEZ: [INFO]
Search took 382ms
07.03.17, 09:23:46 MEZ: [WARN]
The artifact jdom:jdom:jar:1.1 has been relocated to org.jdom:jdom:jar:1.1
07.03.17, 09:23:48 MEZ: [INFO]
Updating theme VAADIN\themes\lei
07.03.17, 09:23:49 MEZ: [ERROR]
Mär 07, 2017 9:23:49 AM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
07.03.17, 09:23:49 MEZ: [ERROR]
SCHWERWIEGEND: Import ‘…/valo/valo.scss’ in ‘C:\Users\rolandp\git\lei-gitlab\src\main\resources\VAADIN\themes\lei\styles.scss’ could not be found
07.03.17, 09:23:49 MEZ: [ERROR]
Mär 07, 2017 9:23:49 AM com.vaadin.sass.internal.handler.SCSSErrorHandler severe
07.03.17, 09:23:49 MEZ: [ERROR]
SCHWERWIEGEND: Mixin Definition: valo not found
07.03.17, 09:23:49 MEZ: [ERROR]
Compiling theme “VAADIN\themes\lei” failed Command [[…removed…]
] failed with status 1
i am using vaadin 7.7 maven project
when i add chart addons in pom.xml and clean maven and widgetset and re-compile both.
but gwt.xml file not created in maven project.
my dout’s:
1)In normal vaadin7.7, gwt.xml file is created , by adding depedencies in ivy.xml .
2)In maven project where gwt.xml file is created ?
3)how can i add chart addons in vaadin 7.7 using maven.?
The output you shared shows that you have
vaadin-client in the classpath:
07.03.17, 09:23:46 MEZ: com.vaadin.DefaultWidgetSet in jar:file:C:/Users/rolandp/.m2/repository/com/vaadin/vaadin-client/8.0.0/vaadin-client-8.0.0.jar!/
I don’t know if there’s a transitive dependency from somewhere. Can you share your pom.xml and UI definition with the annotations (skip the implementation)? Also, I think you need
vaadin-compatibility-client .
Alright… Sorry, I’ve been quite distracted. I think the problem is the the
vaadin-compatibility-themes dependency. That’s for the old themes (reindeer, runo, chameleon). But as you are using Valo, you need the
vaadin-themes dependency instead. Hope that helps.
Dependencies are vaadin-compatibility-server, vaadin-themes, vaadin-compatibility-client.
Other add-ons are not a problem as long as they are available for vaadin 8