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 Stack Overflow by S tavakoli
, 1 year ago
ir.org.acm.multithreadpower.Main3$2 cannot be cast to java.util.concurrent.Callable
java.lang.ClassCastException: ir.org.acm.multithreadpower.Main3$2 cannot be cast to java.util.concurrent.Callable at java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:235) at ir.org.acm.multithreadpower.Main3.main(Main3.java:35)