Exception: java.io.StreamCorruptedException: invalid type code: 00

前端 未结 2 1644
一整个雨季
一整个雨季 2020-12-20 08:10

When I query through the EJB interface for a entity, under the console it is ok, but switch to query from Swing it throw this exception.

The exception:



        
2条回答
  •  半阙折子戏
    2020-12-20 09:03

    This exception is generated when the the class corresponding to the serialized object that is found by the JVM has the same serialVersionUid as the serialised class, but is actually a different version (ie: changes were made to the class without changing the version id).

    Check that you have the relevant jar's/class files in the class path?

提交回复
热议问题