ClassNotFoundException when deserializing a binary class file's contents

前端 未结 7 1782
[愿得一人]
[愿得一人] 2021-01-12 16:32

I don\'t know much about Java. I\'m trying to read a file containing an int and various instances of a class called \"Automobile\". When I deserialize it, though, the progra

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-12 16:58

    This generally happens if your class Automobile is not in the runtime classpath.

提交回复
热议问题