-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello Stephan,
I'm trying to change the database to postgresql using your documentation section 17, How to Replace the inMemory H2 sample database
but when i run on server (tomcat) it always said could not load postgresql jdbc, what when wrong with this configuration? because when i change back to H2 everything works well
thanks before
Done.
You must add the needed PostgreSQL database JDBC driver to the project/war.
You are right. I have yet added a few lines to the documentation Chapter 17 and pre-declared the postgres entry in the pom.xml.All files are committed.
. . . Be sure you have the needed jdbc driver for the additional database declared in the maven pom.xml from the frontend project (zkoss). By using the PostgreSQL database it looks like the declaration in the next lines. Modify the version to you needs. <!-- PostgreSQL database --> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>9.0-801.jdbc4 </version> </dependency>
best
Stephan
Hello Stephan,
thanks for your prompt reply
it works now :)
before you explained, I thought dependency locating on spring-hibernate-backend, because in project properties --> java build path-->maven dependencies there was folder of spring-hibernate-backend
have fun with it. :-)
Asked: 2012-09-21 05:06:13 +0800
Seen: 109 times
Last updated: Sep 21 '12