[Biojava-l] Applet not able to find DNATools class.

Richard Holland holland at ebi.ac.uk
Mon Nov 26 08:55:56 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sounds like either a classpath problem (in which case check your
classpath to ensure all parts of biojava are definitely on it) or a
broken biojava.jar (in which case you need to recompile/redownload it).

cheers,
Richard

Abhinav Ram Karhu wrote:
> Hello all,
> I am having an error while loading the applet.
> 
> I am getting the following stack trace.
> 
> java.lang.NoClassDefFoundError: Could not initialize class org.biojava.bio.seq.DNATools
> 	at org.biojava.bio.program.abi.ABITrace.getSequence(ABITrace.java:161)
> 	at Trace.init(Trace.java:161)
> 	at sun.applet.AppletPanel.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> 
> I have the directory structure in which I am having my class files , the php page and the biojava jar files together in one folder.
> 
> I also have org.biojava.bio.seq.DNATools imported in the java file Trace.java.
> 
> My applet code in the php page looks like this:
> 
> <applet code="Trace.class"  archive="biojava-1.5.jar , bytecode.jar" height=800 width=800>
> 
> Please suggest if I am missing something.
> 
> Thanks in advance.
> 
> Abhinav
> 
> 
> 

- --
Richard Holland (BioMart)
EMBL EBI, Wellcome Trust Genome Campus,
Hinxton, Cambridgeshire CB10 1SD, UK
Tel. +44 (0)1223 494416

http://www.biomart.org/
http://www.biojava.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHSoob4C5LeMEKA/QRAsfkAJ9SlwIzDulzSDQpAfgh0alISRsplACcDqUx
uyQUEmRFEWTdnEHsm7k2lg0=
=SWHu
-----END PGP SIGNATURE-----



More information about the Biojava-l mailing list