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

java.lang.NoSuchFieldException: $VALUES
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)

Users with the same issue

162 times, 1 month ago
Once, 1 month ago
34 times, 3 months ago
13 times, 4 months ago
3 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.