Re: How to Install PostgerSQL_Driver ( in tomcat ) ?

Поиск
Список
Период
Сортировка
От Daniel Migowski
Тема Re: How to Install PostgerSQL_Driver ( in tomcat ) ?
Дата
Msg-id 47848DAF.4000909@ikoffice.de
обсуждение исходный текст
Ответ на How to Install PostgerSQL_Driver ( in tomcat ) ?  (Moien <moin_e@yahoo.com>)
Список pgsql-jdbc
Hello Moien,

Usually the following locations should do:

<tomcat_home>/common/lib (at least in Tomcat 5.5)
<webapp>/WEB-INF/lib

I wonder WHICH class it is your tomcat cannot find.
Please post the jsp, esspecially the import declarations at the top.

If you can try Tomcat 5.5 or JDK 1.6

Regards,
Daniel Migowski


Moien schrieb:
> Dear All
>
> I'm using :
>
> Microsoft Windows Xp
> Apache-tomcat-6.0.14
> Java version  1.5.0_14
> +
> PostgreSQL 8.2
> and
> postgresql-8.2-507.jdbc3.jar
>
> every time I wana run myApp.class I should type :
> java -cp postgresql-8.2-507.jdbc3.jar . myApp
>
> there is no problem . but when I import myApp into myJSP.jsp , tomcat
> brings this Error :
> javax.servlet.ServletException: java.lang.NoClassDefFoundError
>
> -----------------------
>
> I Tried to  :
> 1. add a classpath=add/postgresql-8.2-507.jdbc3.jar; to env-variables
> 2. add the jar file to jre/lib/ext
> 3. add the jar file to myWebApp/WEB-INF/lib
> 4. add the jar file to tomcat/lib
>
> but non of them works !
>
> would you please help me(I'm a java beginner!)
>
> Thanks alot
> Moein
> ------
>
>
> ------------------------------------------------------------------------


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: How to Install PostgerSQL_Driver ( in tomcat ) ?
Следующее
От: Daniel Migowski
Дата:
Сообщение: Re: How to Install PostgerSQL_Driver ( in tomcat ) ?