Sabrina MK
Sabrina MK

Reputation: 215

How to resolve this error: HTTP Status 500 - Internal Server Error

I try to open my project in Java Web using Netbeans but i dont know how to resolve this.

HTTP Status 500 - Internal Server Error type Exception report

message Internal Server Error

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: org.postgresql.util.PSQLException: FATAL: database "eCommerce" does not exist

root cause

org.postgresql.util.PSQLException: FATAL: database "eCommerce" does not exist

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 5.0 logs.

Upvotes: 0

Views: 3989

Answers (1)

Troley
Troley

Reputation: 1658

javax.servlet.ServletException: org.postgresql.util.PSQLException: FATAL: database "eCommerce" does not exist

This is the cause of the exception. Your application is trying to access a PostgreSQL database 'eCommerce' which doesn't seem to exist. You will have to create the database 'eCommerce', if you have access to the database server and the privileges to do so.

Upvotes: 3

Related Questions