This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes I can not add the driver for Postgresql Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "I can not add the driver for Postgresql" Watch "I can not add the driver for Postgresql" New topic
Author

I can not add the driver for Postgresql

Alan Duke
Greenhorn

Joined: Apr 12, 2011
Posts: 26
I try to put the postgresql driver and when I go to the LIB folder of WEB-INF not have the driver there. The driver is in the Libraries folder JavaResource. I do like this:
Clico Right, Build Path> Configure Build> Add JARs Externals and then select the jar and give ok.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

I assume that this is within an IDE? If so, it'd be best to say which.

Moved to the IDEs forum.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5536

Depending on which app server you are using, placing the JDBC driver JAR file in WEB-INF/lib might not be the best thing to do. Please identify which app server you are using.


JBoss In Action
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: I can not add the driver for Postgresql
 
Similar Threads
Error in No suitable driver found for jdbc:postgresql
unrecognized configuration parameter "xactisolevel"
Struts datasource
JDBC Connection pooling in postgresql
connecting to postgresql