[Biojava-dev] I can't create SimpleSequences any more since I
upgraded to the latest CVS version!
Matthew Pocock
matthew_pocock at yahoo.co.uk
Mon Jan 12 12:42:31 EST 2004
Make sure that grammars.jar is explicitly listed in your classpath, or
is in the same directory as biojava.jar
Benjamin Schuster-Boeckler wrote:
> The following code leads to a strange exception:
>
> ------------------------ snip --------------------------
> Feature.Template template = new Feature.Template();
> template.type = "empty";
> template.source = "MyProgram.ContigSequence";
> template.annotation = new org.biojava.bio.SimpleAnnotation();
> template.location = LocationTools.makeLocation(1, 100000);
> return new org.biojava.bio.seq.impl.SimpleFeature(this, this,
> template);
> ------------------------ snap --------------------------
>
> =>
>
> ------------------------ snip --------------------------
> java.lang.NoClassDefFoundError:
> org/biojava/ontology/format/triples/node/Node
> at org.biojava.ontology.OntoTools.<clinit>(OntoTools.java:71)
> at
> org.biojava.bio.seq.impl.SimpleFeature.<init>(SimpleFeature.java:386)
> at
> com.biomax.pedant3.das.ContigSequence.filter(ContigSequence.java:140)
> at
> org.biojava.servlets.dazzle.DazzleServlet.featuresOutput_dasgff(Unknown
> Source)
> at
> org.biojava.servlets.dazzle.DazzleServlet.featuresCommand(Unknown Source)
> at org.biojava.servlets.dazzle.DazzleServlet.doGet(Unknown Source)
> ------------------------ snap --------------------------
>
> How did that happen?
>
> Greetings,
>
> Benjamin
>
>
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at biojava.org
> http://biojava.org/mailman/listinfo/biojava-dev
>
More information about the biojava-dev
mailing list