[Biojava-l] NoClassDefFound error with ColourCommand

David Bourgais david.bourgais at bioxpr.be
Tue Jun 27 11:05:50 UTC 2006


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




More information about the Biojava-l mailing list