Seems to me that the database is still not created
Could not get Connection on jdbc:postgresql://localhost:5432/libresource: org.postgresql.util.PSQLException: Backend start-up failed: FATAL: database "libresource" does not exist. at You should go inside the pgadmin application (graphical application) and create a new database named libresource.
Look on the web, to get some help on postgres. And please read the beginning of your log.