Closed vaadin-bot closed 10 years ago
Originally by @Artur-
You have a conflicting jar on your widgetset build path, probably some jdt jar of another version than needed by the compiler
Originally by mcooper7290
Replying to Signell:
You have a conflicting jar on your widgetset build path, probably some jdt jar of another version than needed by the compiler
Why does the compile work fine with 7.1.3? When I attempt to compile 7.1.[4-6] all I do is update my pom.xml to change the vaadin version and eclipse downloads 7.1.6. Then I "mvn compile". I'm not changing anything else when trying to go from 7.1.3 to 7.1.6.
Originally by @Artur-
Can't see what would have changed in 7.1.4 that would affect this. Running the target with -X might tell you more, for instance the classpath used for compilation.
Originally by @hesara
I wasn't able to reproduce this with the the latest archetypes (7.1.11). However, the log looks like there might have been a stale gwt-unitCache directory from widgetset compilation with the previous Vaadin version in the same project. The other possibility I can think of is some classpath conflict as Artur suggested.
Please reopen the ticket if the problem reoccurs and cleaning the project does not help. The latest archetype and plugin versions should automatically also remove the unit cache when performing mvn clean, but you can try to look for and remove the directory by hand if not deleted automatically in your project.
Originally by mcooper7290
Starting with 7.1.4 and verified through 7.1.6 building widgetset using maven fails:
Building using Maven 7.1.3 works fine.
Imported from https://dev.vaadin.com/ issue #12689