On 3/06/2010 12:15 PM, Manohar Bhattarai wrote:
> I had the same problem of getting exception of class not found as you
> are getting. I have solved the problem by simply putting the jar file in
> CATALINA_HOME/lib/ directory. Then i restarted Eclipse.
> And wow the driver was found. This was solved just yesterday. See if
> this helps you.
That's usually not the best way to do it (at least in Glassfish-land)
though, because that jar is visible to all installed apps. It gets
complicated if different servelets require different versions of some
libraries.
If you're using .war packaging, you should be able to get Eclipse to
include the required jar in the package. In NetBeans it "just works"
(especially with Maven war packaging) but perhaps Eclipse needs a bit
more help.
--
Craig Ringer