Hello, All the JAR I need are in the classpath. When I run OJB from a servlet it works well but when I run it from a main() method this error occurs. There is no differences between them. That's a bit strange!
Sylvain > -----Original Message----- > From: Martin Kalén [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 9:42 AM > To: OJB Users List > Subject: Re: error when start OJB > > > [EMAIL PROTECTED] wrote: > > > java.lang.NoClassDefFoundError: > org/apache/commons/pool/PoolableObjectFactory > > > > What does it mean? > > It means that an external package that OJB depends on > (Jakarta Commons > Pool in this case) is not present in your classpath. > > Check out http://db.apache.org/ojb/deployment.html for the OJB > deployment guide, or (more to the point) > http://db.apache.org/ojb/dependencies.html for a list of the > JAR-files > you need to deploy with OJB. > > -- > Martin Kalén > Curalia AB Web: http://www.curalia.se > Orrspelsvägen 2B Mail: [EMAIL PROTECTED] > SE-182 79 Stocksund Tel: +46-8-410 064 40 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]