[Biojava-l] NoClassDefFound error with ColourCommand

Richard Holland richard.holland at ebi.ac.uk
Tue Jun 27 11:42:43 UTC 2006


Sounds like you may be executing the code against a different version of
BioJava than you compiled from.

On Tue, 2006-06-27 at 13:05 +0200, David Bourgais wrote:
> Hello
> 
> I compiled a CVS version of BioJava (1.5) and I tried to execute my
> program. The problem is during the execution of this part of code :
> 
> AlignmentMarker oAlignmentMarker = new AlignmentMarker
>                 ( new ColourCommand() {
>                         public  boolean  isColoured
>                         (  String poFirst, String poSecond ) {
>                                 
>                                 if ( poFirst.equals( poSecond ) ) {
>                                         return false;
>                                 } else {
>                                         return true;
>                                 }
>                         }
>                 } // end ColourCommand
>                 , oStyler
>                 );
> 
> Everything is okay during compilation but in the execution, my program
> crashes with this error :
> 
> java.lang.NoClassDefFoundError:
> org/biojava/bio/program/blast2html/ColourCommand        at
> com.bioxpr.blaster.Process.doPost(Process.java:35)
> 
> But, in my Jar, ColourCommand class is present.
> Is there a problem with this interface ?
> 
> Thank you very much for answer.
> 
> Regards.
> 
> David
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
-- 
Richard Holland (BioMart Team)
EMBL-EBI
Wellcome Trust Genome Campus
Hinxton
Cambridge CB10 1SD
UNITED KINGDOM
Tel: +44-(0)1223-494416




More information about the Biojava-l mailing list