Re: JDBC and ClassNotFoundException

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: JDBC and ClassNotFoundException
Дата
Msg-id 46499E6C.4050900@opencloud.com
обсуждение исходный текст
Ответ на JDBC and ClassNotFoundException  ("Geert Verhaag" <g.verhaag@lrcb.nl>)
Список pgsql-jdbc
Geert Verhaag wrote:
> So I launch the application with the command: java -jar
> AppName.jar at the command prompt

If you specify -jar the JVM ignores any other classpath you set. Either
bundle the driver into your application jar (including it by reference
in a manifest class-path may work, I can't remember), or use -classpath
and an explicit class name instead of -jar.

-O

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: JDBC and ClassNotFoundException
Следующее
От: "Mikael Carneholm"
Дата:
Сообщение: Re: JDBC and ClassNotFoundException