java.io.InvalidClassException: local class incompatible:

前端 未结 7 1824
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 02:46

I created client and server and then added a class in client side for serializing purposes, then simply just went to the folder of the client in my hard drive and copy paste

7条回答
  •  北海茫月
    2020-11-29 03:37

    If you are using oc4j to deploy the ear.

    Make sure you set in the project the correct path for deploy.home=

    You can fiind deploy.home in common.properties file

    The oc4j needs to reload the new created class in the ear so that the server class and the client class have the same serialVersionUID

提交回复
热议问题