无法实例化[org.quartz.impl.StdSchedulerFactory]:构造方法抛出异常;嵌套的异常是java.lang.LinkageError

时间:2018-07-06 23:40:39

标签: spring spring-batch quartz

尝试将我的石英项目部署到weblogic时出现以下错误。 我尝试添加slf4j依赖项,并尝试排除。但没有用。

我正在使用以下石英依赖项     org.quartz-schedulerquartz2.1.7

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pooledConnectionFactoryWW' defined in class path resource [amq-messaging-context.xml]: Instantiation of bean failed; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of com/oracle/classloader/weblogic/LaunchClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature

0 个答案:

没有答案