我正在尝试将Spring (https://github.com/peholmst/vaadin4spring)与Vaadin的仪表板演示代码(https://github.com/vaadin/dashboard-demo)集成起来。我所做的唯一修改就是在DashboardUI类中添加注释"@VaadinUI“。我使用分支“integrate仪表板-演示-项目”签入我的代码。
我得到了错误消息:
org.springframework.beans.factory.BeanCreationException:错误创建名为'org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor':调用init方法的bean失败;嵌套异常为java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider。
我不太清楚这条信息是什么意思。有人能解释一下并想出一个解决错误信息的方法吗?
要害错误输出:https://gist.github.com/anonymous/43d602c1105e00d4d7d6
克隆网址:https://github.com/caritos/pangolin.git
分公司:集成-vaadin-仪表板-演示-项目
发布于 2015-01-23 09:41:39
您可以在jar中打包javax验证api 1.0。这是GWT编译器需要的版本(当您构建widgetset时)。但是spring依赖于1.1版本。通常问题是相反的..。
https://stackoverflow.com/questions/28101889
复制相似问题