[Biojava-l] can use biojava in JApplet?

Guanhong Hu ghhu at info.biology.mcmaster.ca
Mon Jan 10 10:58:59 EST 2005


HI, 
I am new to biojava. I develped a small java application by using some 
biojava modules. It runs O.K. But when I convert this application to a 
JApplet , it compiles O.K. , but when I use appletviewer to test it, it 
gave out the following error  message:
java.lang.NoClassDefFoundError: org/biojava/bio/symbol/IllegalSymbolException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
        at java.lang.Class.getConstructor0(Class.java:1922)
        at java.lang.Class.newInstance0(Class.java:278)
        at java.lang.Class.newInstance(Class.java:261)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
        at sun.applet.AppletPanel.run(AppletPanel.java:298)
        at java.lang.Thread.run(Thread.java:534)
and the applet not initialized.

I don't know what's wrong. Can biojava be used in JApplet???

Any reply is great appreciated.

Thanks

Guanhong 



More information about the Biojava-l mailing list