开发者

Quartz Scheduler - NoClassDefFoundError

开发者 https://www.devze.com 2022-12-20 14:08 出处:网络
I am using Quratz 1.6.3 API in a Maven project. This is the error message I get when I run it: java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils

I am using Quratz 1.6.3 API in a Maven project. This is the error message I get when I run it: java.lang.NoClassDefFoundError: org/apache/commons/collections/SetUtils at org.quartz.JobDetail.(JobDetail.java:85) .....

commons.collections 3.2 dependency is included in the project's pom.xml file. What could be the reason for开发者_运维知识库 this error?

Thanks in advance.


commons.collections 3.2.1 contains this class

org\apache\commons\collections\SetUtils.class

So the problem should be in your maven project. Double check that the commons.collections gets is the classpath (see logs). Or show the project configuration, so we would be able to help.

0

精彩评论

暂无评论...
验证码 换一张
取 消