Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Class Cast Exception #39

Open
dmelloreema opened this issue Feb 27, 2018 · 1 comment
Open

Java Class Cast Exception #39

dmelloreema opened this issue Feb 27, 2018 · 1 comment

Comments

@dmelloreema
Copy link

Hi,
I am using the datasetutils and am receiving the following error message. I tried the earlier of datasetutils-37 which also produced the same error message.

" java.class.path:datasetutils-39.0.1.jar
SystemClassLoader:Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
at com.sforce.dataset.DatasetUtilMain.printClasspath(DatasetUtilMain.java:1204)
at com.sforce.dataset.DatasetUtilMain.main(DatasetUtilMain.java:79)"

I appreciate any help/guidance.

Thanks!

@spencerkoo
Copy link

@dmelloreema What version of Java are you using? Java 8 or 9? I've had this issue before and Java 9 appears to break it. Uninstall Java 9 and downgrade to whatever the latest version of 8. I believe it's 1.8.162.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants