java.lang.IllegalArgumentException: Could not create enum
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
Thrown to indicate that a specified field does not exist. make sure "strongClassCache" exists and is accessible (not private).
Solutions on the web
via GitHub by yueritian
, 1 year agojava.lang.NoSuchFieldException: $VALUES
at java.lang.Class.getDeclaredField(Class.java:1961)
at com.hankcs.hanlp.corpus.util.EnumBuster.findValuesField(EnumBuster.java:349)
at com.hankcs.hanlp.corpus.util.EnumBuster.values(EnumBuster.java:429)
at com.hankcs.hanlp.corpus.util.EnumBuster.access$0(EnumBuster.java:426)
at com.hankcs.hanlp.corpus.util.EnumBuster$Memento.
(EnumBuster.java:443)