java.lang.NoClassDefFoundError

sun/io/ByteToCharGBK

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4

  • via Unknown by 843799,
  • via Unknown by 807587,
  • via Unknown by 807577,
  • Stack trace

    • java.lang.NoClassDefFoundError: sun/io/ByteToCharGBK at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) at sun.java2d.SunGraphicsEnvironment.addPathFonts(SunGraphicsEnvironment.java:736) at sun.java2d.SunGraphicsEnvironment.registerFonts(SunGraphicsEnvironment.java:587) at sun.java2d.SunGraphicsEnvironment.access$100(SunGraphicsEnvironment.java:49) at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:209) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.java:203) at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnvironment.java:1029) at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvironment.java:795) at sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:49) at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:160) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:78) at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:150) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) at java.awt.Window.init(Window.java:224) at java.awt.Window.<init>(Window.java:268) at java.awt.Frame.<init>(Frame.java:398) at java.awt.Frame.<init>(Frame.java:363) at javax.swing.JFrame.<init>(JFrame.java:154) at BayConsole.view.Authenticate.<init>(Authenticate.java:118) at BayConsole.view.Authenticate.main(Authenticate.java:800)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.