org.postgresql.util.PSQLException: ERROR: no schema has been selected to create in

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Solutions on the web

via Sakai JIRA by Pascal-Nicolas Becker, 1 year ago
ERROR: no schema has been selected to create in
via Sakai JIRA by Pascal-Nicolas Becker, 1 year ago
ERROR: no schema has been selected to create in
via Google Groups by Kiran Kumar V, 2 months ago
via Google Groups by Lewatle Phaladi, 2 months ago
ERROR: relation "communities2item" already exists
via Google Groups by Jayan Chirayath Kurian, 1 month ago
ERROR: relation "bitstreamformatregistry_seq" already exists
via Google Groups by Tom Hanstra, 1 month ago
ERROR: syntax error at or near "("
org.postgresql.util.PSQLException: ERROR: no schema has been selected to create in
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at org.dspace.storage.rdbms.DatabaseManager.loadSql(DatabaseManager.java:961)
at org.dspace.storage.rdbms.InitializeDatabase.main(InitializeDatabase.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
100 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.