bitsail icon indicating copy to clipboard operation
bitsail copied to clipboard

Startup error

Open wuchunfu opened this issue 2 years ago • 3 comments

When I start in the local mode, an error is reported. How can I solve it? The following is the error message

2022-11-09 23:56:57,627 ERROR entry.Entry: Exception occurred when run command .
java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
        at com.bytedance.bitsail.client.entry.Entry.<init>(Entry.java:71)
        at com.bytedance.bitsail.client.entry.Entry.main(Entry.java:86)

wuchunfu avatar Nov 09 '22 16:11 wuchunfu

Hi @wuchunfu , which JDK version are you using?

garyli1019 avatar Nov 10 '22 03:11 garyli1019

Hi @wuchunfu , which JDK version are you using?

1.8.0_202

wuchunfu avatar Nov 10 '22 13:11 wuchunfu

found a related issue https://github.com/microsoft/azure-maven-plugins/issues/988 , I believe that's related to jdk. I will take a look later today

garyli1019 avatar Nov 11 '22 03:11 garyli1019

I had met with same error when using openjdk version "11.0.17". After I converted it to Oracle JDK "1.8.0_341", the error doesn't come up.

Jake-00 avatar Dec 14 '22 14:12 Jake-00

Yes, currently jdk11 is not supported, only jdk8

lichang-bd avatar Feb 08 '23 09:02 lichang-bd