java.lang.NoClassDefFoundError: Illegal name: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Coderanch | Joe Vahabzadeh | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Preferences API and Mac (maybe XP also?!) OS, oddity/issue?

    Coderanch | 1 decade ago | Joe Vahabzadeh
    java.lang.NoClassDefFoundError: Illegal name: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Illegal name: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

      at java.lang.ClassLoader.defineClass()
    2. Java RT
      Preferences.importPreferences
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:538)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      3. sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      5. sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      7. javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
      8. javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
      9. javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:93)
      10. java.util.prefs.XmlSupport.load(XmlSupport.java:210)
      11. java.util.prefs.XmlSupport.importPreferences(XmlSupport.java:181)
      12. java.util.prefs.Preferences.importPreferences(Preferences.java:1171)
      12 frames