java.lang.ClassCastException: class java.lang.String cannot be converted to class my.EnumType.

ZK-Tracker | hattifnat | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ClassCastException

    class java.lang.String cannot be converted to class my.EnumType.

    at org.zkoss.lang.Classes.coerce()
  2. The ZKoss Common Library
    Classes.coerce
    1. org.zkoss.lang.Classes.coerce(Classes.java:1439)
    1 frame