java.lang.ClassCastException: java.lang.ExceptionInInitializerError cannot be cast to java.lang.Exception

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

Solutions on the web

via java.net by Unknown author, 1 year ago
via GitHub by mklemm
, 2 years ago
java.lang.ExceptionInInitializerError cannot be cast to java.lang.Exception
via GitHub by msglaser
, 2 years ago
java.lang.ExceptionInInitializerError cannot be cast to java.lang.Exception
via java.net by Unknown author, 1 year ago
java.lang.AssertionError cannot be cast to java.lang.Exception
via GitHub by kermit-the-frog
, 2 years ago
java.lang.NoSuchFieldError cannot be cast to java.lang.Exception
via diversit.eu by Unknown author, 1 year ago
java.lang.AssertionError cannot be cast to java.lang.Exception
java.lang.ClassCastException: java.lang.ExceptionInInitializerError cannot be cast to java.lang.Exception
at org.jvnet.jax_ws_commons.jaxws.Invoker.main(Invoker.java:87)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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