FATAL: database does not exist in postgresql for jdbc
As a_horse_with_no_name mentioned, the database name (and possibly other parameter values) in the JDBC URL are case-sensitive. But any unquoted identifier like preopusDB in your CREATE DATABASE statement will be folded to lower case.
Use
jdbc:postgresql://localhost/preopusdb?user=...