`

使用Spring的任务调度错误java.lang.NoSuchMethodError: orderedSet解决

阅读更多
使用Spring2.0的任务调度报错:
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean

class [org.springframework.scheduling.quartz.JobDetailBean]: Constructor threw exception;

nested exception is java.lang.NoSuchMethodError: orderedSet
Caused by: java.lang.NoSuchMethodError: orderedSet

这是因为commons-collections的版本太低导致的,换成3.*版本的即可。
分享到:
评论
1 楼 江雨行 2014-03-20  
ops1:

相关推荐

Global site tag (gtag.js) - Google Analytics