java.io.NotSerializableException: DefaultListableBeanFactory has no serialization id

Spring JIRA | Gerrit Brehmer | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    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