Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 90597 invoked from network); 14 Aug 2000 20:55:21 -0000 Received: from corporate.planet.net (208.163.25.10) by locus.apache.org with SMTP; 14 Aug 2000 20:55:21 -0000 Received: from insage.com (prog16.planet.net [208.163.30.16]) by corporate.planet.net (8.9.3/8.8.5) with ESMTP id QAA17518 for ; Mon, 14 Aug 2000 16:54:53 -0400 (EDT) Message-ID: <39985E2F.2102DCA4@insage.com> Date: Mon, 14 Aug 2000 17:01:35 -0400 From: sudhi X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver References: <000701c0062f$9e33d340$7d01a8c0@windebt.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Do u have the jar or zip file set in the classpath of Jserv ? Matthew Smith wrote: > > I'm just getting started with Cocoon, java, and xml. > I'm trying to get the sql taglib to work. I modified the taglib.xml > file in the samples/sql directory. The file now looks like this: > > > > > language="java" > xmlns:sql="http://www.apache.org/1999/SQL" > xmlns:xsp="http://www.apache.org/1999/XSP/Core" > > > > > > > org.gjt.mm.mysql.Driver > jdbc:mysql://localhost/lonestar > root > mypassword > yes > select * from users > count > > > > > > > I get the following error page from cocoon: > java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver > at > org.apache.cocoon.processor.xsp.library.sql.XSPSQLLibrary.processQuery(XSPSQ > LLibrary.java) > at > _usr._local._etc._httpd._htdocs._samples._sql._taglib.populateDocument(_tagl > ib.java) > at org.apache.cocoon.processor.xsp.XSPPage.getDocument(XSPPage.java) > at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java) > at org.apache.cocoon.Engine.handle(Engine.java) > at org.apache.cocoon.Cocoon.service(Cocoon.java) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) > at > org.apache.jserv.JServConnection.processRequest(JServConnection.java:314) > at org.apache.jserv.JServConnection.run(JServConnection.java:188) > at java.lang.Thread.run(Thread.java) > > I'm sorry if this is a silly problem. (I hope it is.) I'm just getting > started and am having a hard time finding much in the way of tutorials or > step by step type documentation for cocoon. I'd also appretiate anyone > pointing me toward any that might be out there. > > Thanks, > Matt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org