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 AppFuse JIRA by Roman Kuzmin, 1 year ago
via AppFuse JIRA by Roman Kuzmin, 2 years ago
java.lang.ClassCastException: java.io.File	at org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:269)	at org.codehaus.plexus.util.InterpolationFilterReader.read(InterpolationFilterReader.java:162)	at java.io.Reader.read(Reader.java:122)	at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212)	at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)	at org.apache.maven.plugin.resources.ResourcesMojo.copyFile(ResourcesMojo.java:249)	at org.apache.maven.plugin.resources.ResourcesMojo.copyResources(ResourcesMojo.java:172)	at org.apache.maven.plugin.resources.TestResourcesMojo.execute(TestResourcesMojo.java:53)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)