首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spring批管理和Spring批处理集成抛出MessagingException

Spring批管理和Spring批处理集成抛出MessagingException
EN

Stack Overflow用户
提问于 2015-03-23 10:06:39
回答 1查看 599关注 0票数 1

以下是我的prev问题的解答:cant import resources

在尝试集成spring-批处理-admin之后,我终于克服了属性配置。

然而,现在我得到了不同的错误:

。。

代码语言:javascript
复制
java.lang.NoClassDefFoundError: org/springframework/integration/MessagingException
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)

这是我的评分脚本:

代码语言:javascript
复制
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
..

所以我想我在这两个版本之间发生了一些碰撞。

这已经花了我很长时间。你知道在放弃这件事之前有没有简单的解决办法吗?

谢谢,雷。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 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。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29207484

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档