1

I'm trying to integrate Spring Boot Vaadin (https://github.com/peholmst/vaadin4spring) with Vaadin's Dashboard Demo Code (https://github.com/vaadin/dashboard-demo). The only thing modification I made was add the annotation "@VaadinUI" in the DashboardUI class. I checked in my code using the branch "integrate-vaadin-dashboard-demo-project".

I get the error message:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider.

I'm not really sure what the message means. Can somebody explain it and come up with a resolution to the error message?

Gist Error Output: https://gist.github.com/anonymous/43d602c1105e00d4d7d6

Clone Url: https://github.com/caritos/pangolin.git

Branch: integrate-vaadin-dashboard-demo-project

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
caritos
  • 12,922
  • 2
  • 17
  • 15

1 Answers1

2

You pack javax validation api 1.0 in your jar. This is the version the GWT compiler needs (when you build a widgetset). But spring-boot depends on version 1.1. Usually the problem is the other way around...

cfrick
  • 35,203
  • 6
  • 56
  • 68