[Biojava-l] web service problems
Thomas Down
td2@sanger.ac.uk
Wed, 22 Jan 2003 13:32:51 +0000
On Tue, Jan 21, 2003 at 01:27:48PM +0000, Matthew Pocock wrote:
> Hi,
>
> I'm having some problems with biojava in a web service I wrote. I'm
> using biojava.jar and bj-ensembl.jar along with my own jsp and servlets.
> It used to work (before xmas), but now I get an exception:
> "NoSuchFieldError: naturalOrder". This is a field in Location (in
> biojava.jar), and the calling code is EnsemblTranscript (in
> bj-ensembl.jar). I can build both jars from scratch using ant, so javac
> thinks the field exists. I can javap the Location interface (using the
> biojava.jar in the deployed .war) and naturalOrder appears, so it realy
> should be available.
I've just experienced this very same probelm, also using
biojava-ensembl, from a simple command-line script, so there's
definitely no container-specific classloading issues. I was
able to fix it by doing a clean build of biojava-ensembl.
Any chance of version skew in your case?
Thomas.