Using dependency/library that relies on an older version of the Spring framework

java.lang.NoSuchMethodError
Javadoc
Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. @author unascribed @since JDK1.0

at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory
(source)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory
(source)
at org.springframework.context.support.AbstractApplicationContext.refresh
(source)

Typical Exception Messages

  1. org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
  2. org/springframework/beans/factory/support/DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V

Specific cases

Solution

rahsan, 2 months ago

It seems like you are using a library that is dependant on an older version of the Spring framework. Replace that library with a newer version to resolve the issue. For more details check this answer

External results for this pattern (5)

  1. MartKvia Stack Overflow4 months ago
    org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
    Show stack trace
  2. Unknown authorvia java2s.com4 months ago
    org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
    Show stack trace
  3. Andy Bentleyvia Spring JIRA5 months ago
    org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
    Show stack trace
  4. Martin Krasservia Google Groups5 months ago
    org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
    Show stack trace
  5. Unknown authorvia spring.io2 years ago
    org.springframework.beans.factory.support.DefaultListableBeanFactory.setSerializationId(Ljava/lang/String;)V
    Show stack trace