[Biojava-l] IT WORKED!!!! (Biojava and Servlets)
lach at cantv.net
lach at cantv.net
Mon Jul 28 10:48:30 EDT 2003
Hi Mathew!
THANKS A LOT!!!
I put bytecode.jar, xerces.jar and biojava.jar into WEB-INF\lib folder and
it worked properly...
------------------------------------------
Hi Luis,
Have you looked in the logs for any clues? Where are
you putting biojava.jar for your servlet? I tend to
put it in WEB-INF/lib/ along with bytecode.jar and the
others. What version of tomcat is it?
Matthew
-------------------------------------------
TOMCAT Version 4.1
Into the logs:
javax.servlet.ServletException: Error instantiating servlet class BioServlet
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
2)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2567)
at
org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoad
er.java:1369)
at java.lang.Thread.run(Thread.java:536)
----- Root Cause -----
java.lang.NoClassDefFoundError: org/biojava/bio/BioException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
at java.lang.Class.getConstructor0(Class.java:1762)
at java.lang.Class.newInstance0(Class.java:276)
at java.lang.Class.newInstance(Class.java:259)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:90
3)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3420)
at
org.apache.catalina.core.StandardContext.reload(StandardContext.java:2567)
at
org.apache.catalina.loader.WebappLoader$WebappContextNotifier.run(WebappLoad
er.java:1369)
at java.lang.Thread.run(Thread.java:536)
Luis Ch.
lach at cantv.net
More information about the Biojava-l
mailing list