java.lang.NoSuchMethodError: org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;

GitHub | IhabSoliman | 4 months ago
  1. 0

    GitHub comment 196#238774581

    GitHub | 4 months ago | IhabSoliman
    java.lang.NoSuchMethodError: org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;
  2. 0

    With following bean definition <bean id="queueRunnerDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> <property name="targetObject" ref="queueRunnerProcess" /> <property name="targetMethod" value="run" /> <property name="concurrent" value="false" /> </bean> I get BeanCreationException with following stack trace: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queueRunnerDetail' defined in class path resource [conf/scheduler-config.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set; Caused by: java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set; at org.quartz.JobDetail.<init>(JobDetail.java:85) at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet(MethodInvokingJobDetailFactoryBean.java:149) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287) at org.springframework.context.support.AbstractApplicationContex I can solve the error with Quartz Version 1.5.2 ....

    Spring JIRA | 10 years ago | Thomas Kuehne
    java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;
  3. 0

    db:: 3.19::Cap constructor exception: java.util.zip... jj

    hivmr.com | 11 months ago
    java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    With following bean definition <bean id="queueRunnerDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> <property name="targetObject" ref="queueRunnerProcess" /> <property name="targetMethod" value="run" /> <property name="concurrent" value="false" /> </bean> I get BeanCreationException with following stack trace: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queueRunnerDetail' defined in class path resource [conf/scheduler-config.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set; Caused by: java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set; at org.quartz.JobDetail.<init>(JobDetail.java:85) at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.afterPropertiesSet(MethodInvokingJobDetailFactoryBean.java:149) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287) at org.springframework.context.support.AbstractApplicationContex I can solve the error with Quartz Version 1.5.2 ....

    Spring JIRA | 10 years ago | Thomas Kuehne
    java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;
  6. 0

    Libraries Conflict for Quartz

    Coderanch | 8 years ago | Maksim Ustinov
    javax.faces.FacesException: #{SchedulerController.play}: java.lang.NoSuchMethodError: org.apache.commons.collections.SetUtils.orderedSet(Ljava/util/Set;)Ljava/util/Set;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;

      at org.glassfish.jersey.server.ApplicationHandler.filterNameBound()
    2. jersey-core-server
      ApplicationHandler$3.run
      1. org.glassfish.jersey.server.ApplicationHandler.filterNameBound(ApplicationHandler.java:837)[jersey-server-2.17.jar:na]
      2. org.glassfish.jersey.server.ApplicationHandler.getProcessingProviders(ApplicationHandler.java:726)[jersey-server-2.17.jar:na]
      3. org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:510)[jersey-server-2.17.jar:na]
      4. org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:166)[jersey-server-2.17.jar:na]
      5. org.glassfish.jersey.server.ApplicationHandler$3.run(ApplicationHandler.java:327)[jersey-server-2.17.jar:na]
      5 frames
    3. Jersey Core
      Errors.processWithException
      1. org.glassfish.jersey.internal.Errors$2.call(Errors.java:289)[jdbc-1.1.3.jar:na]
      2. org.glassfish.jersey.internal.Errors$2.call(Errors.java:286)[jdbc-1.1.3.jar:na]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jdbc-1.1.3.jar:na]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jdbc-1.1.3.jar:na]
      5. org.glassfish.jersey.internal.Errors.processWithException(Errors.java:286)[jdbc-1.1.3.jar:na]
      5 frames
    4. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:324)[jersey-server-2.17.jar:na]
      1 frame
    5. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:338)[jersey-container-servlet-core-2.17.jar:na]
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:171)[jersey-container-servlet-core-2.17.jar:na]
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:363)[jersey-container-servlet-core-2.17.jar:na]
      3 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)[javax.servlet-api-3.1.0.jar:3.1.0]
      1 frame
    7. Jetty
      ContextHandlerCollection.doStart
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      2. org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      3. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      5. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      7. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      8. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      9. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      10. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      10 frames