Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed
В списке pgsql-jdbc по дате отправления:
| От | Guillaume Cottenceau |
|---|---|
| Тема | Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed |
| Дата | |
| Msg-id | 87fx48rzul.fsf@meuh.mnc.lan обсуждение |
| Ответ на | Re: org.postgresql.util.PSQLException: Protocol error. Session setup failed (Major Services <services.major@gmail.com>) |
| Ответы |
Re: org.postgresql.util.PSQLException: Protocol error. Session
setup failed
|
| Список | pgsql-jdbc |
Major Services <services.major 'at' gmail.com> writes:
> Hi,
> Following is the error report:
lol!
(sorry, couldn't resist)
> org.apache.jasper.JasperException: Unable to compile class for JSP:
>
> An error occurred at line: 13 in the jsp file: /jsp/pgtest.jsp
> Properties cannot be resolved to a type
>
> 10: {
> 11: Class.forName("org.postgresql.Driver");
> 12: String url = "jdbc:postgresql://localhost:5432/postgres?user=postgres&password=major";
> 13: Properties props = new Properties();
> 14: props.setProperty("loglevel","2");
>
> 15: Connection conn = DriverManager.getConnection(url, props);
> 16: }
>
--
Guillaume Cottenceau
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера