The name of the driver class for the datasource is missing (Netbeans+ PostgreSql + Glassfish)

前端 未结 9 1884
情话喂你
情话喂你 2020-12-16 02:31

I\'m trying to develop an EJB application using Netbeans 8 on a Postgres 9.2 db and Glassfish 4 server.

Once I created connection pool and JDBC resources in the glas

9条回答
  •  一生所求
    2020-12-16 03:10

    Steps in Netbeans:
    Go To-->Service Tab-->Right Click on Drivers-->New Driver--> Add your driver jar file here

    Netbeans automatically populates details of driver from JAR file.Check Driver Class value, this value we will use in Glassfish server connection pool.

    Steps in Glassfish:

    Go to Glassfish Admin panel
    In your JDBC Connection pool add property driverClass and paste the value of Driver Class registered with Netbeans Drivers tab in previous step.

提交回复
热议问题