[Jalview-discuss] Newbie: Exception: java.lang.ClassNotFoundException: jalview.bin.JalviewLite
Thomas Juettemann
juettemann at gmail.com
Sat Jul 25 20:26:12 BST 2009
Dear all,
I am trying to implement the jalview applet and keep getting this error:
java.lang.ClassNotFoundException: jalview.bin.JalviewLite
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection
failed:http://bisc.cse.ucsc.edu/jalview/bin/JalviewLite.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: jalview.bin.JalviewLite
This is the page I am trying it:
http://bisc.cse.ucsc.edu/testjview.html
And this is the source code:
<html>
<head><title>JalView Test</title></head>
<body>
Click the Javascript buttons below to interact with the Applet
instance on the page.<br>
View the source in your browser to see how it has been done.<br>
<applet code="jalview.bin.JalviewLite" width="140" height="35"
archive="cgi-bin/jalviewApplet.jar" name="Jalview">
</applet>
</body>
</html>
I am not very experienced with either Java nor applets.
-rwxrwxr-x jalviewApplet.jar
Any suggestions more than welcome!
Many thanks,
Thomas
More information about the Jalview-discuss
mailing list