java.lang.NoClassDefFoundError

Could not initialize class sun.awt.Win32FontManager

Samebug tips1

org.apache.http.config.Lookup class is in httpcore-4.3.jar not in httpclient-4.3.1.jar


rafaelrafael

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

Solutions on the web1241

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.NoClassDefFoundError: Could not initialize class sun.awt.Win32FontManager at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:82) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) at java.awt.Font.getFont2D(Font.java:491) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontUtilities.fontSupportsDefaultEncoding(FontUtilities.java:338) at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$WindowsFontProperty.configureValue(WindowsLookAndFeel.java:2293) at com.sun.java.swing.plaf.windows.DesktopProperty.createValue(DesktopProperty.java:154) at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:231) at javax.swing.UIDefaults.get(UIDefaults.java:161) at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:64) at javax.swing.UIDefaults.getFont(UIDefaults.java:387) at javax.swing.UIManager.getFont(UIManager.java:672) at javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:307) at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:787) at javax.swing.plaf.basic.BasicEditorPaneUI.installUI(BasicEditorPaneUI.java:89) at javax.swing.plaf.basic.BasicTextPaneUI.installUI(BasicTextPaneUI.java:81) at javax.swing.JComponent.setUI(JComponent.java:666) at javax.swing.text.JTextComponent.setUI(JTextComponent.java:328) at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:338) at javax.swing.text.JTextComponent.<init>(JTextComponent.java:312) at javax.swing.JEditorPane.<init>(JEditorPane.java:196) at javax.swing.JTextPane.<init>(JTextPane.java:90) at com.intellij.idea.Main.showMessage(Main.java:335) at com.intellij.idea.Main.showMessage(Main.java:311) at com.intellij.idea.Main.main(Main.java:104)

    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

    Unknown visitor
    Unknown visitorOnce,
    pulse00pulse00
    6 times, last one
    guizmaiiguizmaii
    2 times, last one
    serious2monkeysserious2monkeys
    60 times, last one
    Unknown visitor
    Unknown visitor2 times, last one
    48 more bugmates