0

Updated ZK 8.6 from ZK6: local class incompatible

asked 2019-05-10 13:05:34 +0800

Pattu gravatar image Pattu
3 3

updated 2019-05-10 13:16:26 +0800

Hi all, Any suggestion on my scenario? Error:

java.io.InvalidClassException: org.zkoss.util.media.AMedia; local class incompatible: stream classdesc serialVersionUID = -4259431189827860324, local class serialVersionUID = -5581038181341248556

local class incompatible: stream classdesc serialversionuid during updation of ZK6 to Zk8.6 Can not able to read my attachment due to serialversionuid.Is there any solution to deserialize?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-05-17 15:51:01 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2019-05-17 15:51:53 +0800

You should store the file itself (images, pdf) instead of serializing ZK AMedia into the database.

  1. write a migration job in ZK 6, which read the AMedia from database, and get back the file
  2. store the files back into the database
  3. read the files in ZK 8
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2019-05-10 13:05:34 +0800

Seen: 10 times

Last updated: May 17 '19

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More