java.io.NotSerializableException: DefaultListableBeanFactory has no serialization id

Spring JIRA | Gerrit Brehmer | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. java.io.NotSerializableException

      DefaultListableBeanFactory has no serialization id

      at org.springframework.beans.factory.support.DefaultListableBeanFactory.writeReplace()
    2. Spring Beans
      DefaultListableBeanFactory.writeReplace
      1. org.springframework.beans.factory.support.DefaultListableBeanFactory.writeReplace(DefaultListableBeanFactory.java:946)
      1 frame
    3. Java RT
      ObjectStreamClass.invokeWriteReplace
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      5. java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1004)
      5 frames