does somebody have an idea what the exception:
java.lang.NoClassDefFoundError: IllegalName: <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.xml.sax.helpers.NewInstance.newInstance(Unknown Source)
at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown
Source)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
at Graph.init(Graph.java:465)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
mean?
The weird thing is, i have two pages on the first one i get this
exception
and on the other one, the applet work.
Check it out
not working -> http://www.stephan-zehrer.de/LiveGraph
working -> http://www.stephan-zehrer.de/html/graph/
They both uses the same jar file.
What's wrong?
thx
Steve
> java.lang.NoClassDefFoundError: IllegalName: <!DOCTYPE HTML PUBLIC
> "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
LOL!
..Sorry. It is just that I have never seen 'validate your HTML'
expressed so eloquently or forcefully.
> Check it out
> not working -> http://www.stephan-zehrer.de/LiveGraph
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.stephan-zehrer.de%2FLiveGraph>
Note that if you wish to use the <applet> element and
keep that validator happy, you need to declare your HTML
as version either '3.2' or '4.01 Transitional'.
> working -> http://www.stephan-zehrer.de/html/graph/
This one is actually far worse..
<http://validator.w3.org/check?uri=http%3A%2F%2Fwww.stephan-zehrer.de%2Fhtml%2Fgraph%2F>
In fact, by the looks of the output, I would guess *it*
is the one throwing that error, but before I even bother
to check either, fix the HTML.
> What's wrong?
Making up HTML as you go along, mainly.
--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane