javax.jms.JMSException: no valid constructor

Problem:
Deserialization causes Exception.

Solution:

  1. Make sure all your classes, that are send trhough the wire, implement java.io.Serializable
  2. If your class extends other class(es), first class in inheritance tree, that does not implement java.io.Serializable, must provide a zero-argument standard-constructor!
Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

Leave a Reply

Your email address will not be published. Required fields are marked *