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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Joe Vahabzadeh, 1 year ago
Illegal name: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
via Stack Overflow by goku toriyama
, 2 years ago
MyProgram (wrong name </code></pre> <p><code>: java1/MyProgram)</code></p> <p><code>at java.lang.ClassLoader.defineClass1(Native Method)
via Oracle Community by 843802, 1 year ago
Illegal name: pqauser/Pqa
via Oracle Community by 843802, 1 year ago
Illegal name: console/client/Console
via hsqldb by nobody
, 1 year ago
TESTTRIGGER (wrong name: TestTrigger)  at java.lang.ClassLoader.defineClass0(Native Method)
via Coderanch by Steven Pierce, 1 year ago
lib/party (wrong name: Party) ** I get this with the SDK also. ** // at java.lang.ClassLoader.defineClass0(Native Method)
java.lang.NoClassDefFoundError: Illegal name: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
at java.lang.ClassLoader.defineClass(ClassLoader.java:538)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:93)
at java.util.prefs.XmlSupport.load(XmlSupport.java:210)
at java.util.prefs.XmlSupport.importPreferences(XmlSupport.java:181)

Users with the same issue

31 times, 2 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.