Re: Problem using PostgreSQL driver
Rafael Jorge <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, i solved the problem, my postgresql server version is 8.0.0 (for TEST only >;]) and now i copyed the jar for version 8.0.0 to jahia/WEB-INF/lib/ and now it run...=D Thanks...=] On Fri, 4 Feb 2005 15:29:46 -0200, Rafael Jorge <[email protected]> wrote: > Hi, i'm here again...=D > well, in my portlet (that works XD) i'm trying to use the postgresql > driver to connect with my database (the Jahia use the postgresql too) > my code is this: > > Out = response.getWriter(); > try{ > Driver.forname("org.postgresql.Driver"); > }catch(ClassNotFoundException e){ > Out.println("<font color=\"#c51313\">Could not load the > apropriated driver</font><br/>"); > } > > but when i run it, the result always shows me "Could not load the > apropriated driver"...why??? > > Thanks ;] > -- > SDM - Garimpar.com > Seja esperto, seja livre, seja Linux > -- SDM - Garimpar.com Seja esperto, seja livre, seja Linux