以下是我的prev问题的解答:cant import resources
在尝试集成spring-批处理-admin之后,我终于克服了属性配置。
然而,现在我得到了不同的错误:
。。
java.lang.NoClassDefFoundError: org/springframework/integration/MessagingException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)这是我的评分脚本:
dependencies {
compile('org.springframework.batch:spring-batch-integration:3.0.1.RELEASE')
compile("org.springframework.batch:spring-batch-admin-manager:1.3.1.RELEASE"){
exclude module: 'slf4j-log4j12'
exclude module: 'slf4j-api'
}
compile("org.springframework.boot:spring-boot-starter-batch:1.2.2.RELEASE
..所以我想我在这两个版本之间发生了一些碰撞。
这已经花了我很长时间。你知道在放弃这件事之前有没有简单的解决办法吗?
谢谢,雷。
发布于 2015-03-23 11:44:55
您被迫在Spring中使用spring-batch-admin:2.0.0.M1。
确切地说,2.0版本基于SpringFramework4.1和SpringIntegration4.1。
否则它将无法工作,因为1.3.1需要SF3.2和SIS3.0。
https://stackoverflow.com/questions/29207484
复制相似问题