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 purvaz19
, 1 year ago
java.io.File cannot be cast to java.util.List
java.lang.ClassCastException: java.io.File cannot be cast to java.util.List	at mainJava.FileSplitter.split(FileSplitter.java:15)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at java.lang.Thread.run(Unknown Source)