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

前端 未结 9 1879
情话喂你
情话喂你 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:21

    In my case I had to go to glassfish admin panel and change the driver class of Derby connection pool (under JDBC resources) to "org.apache.derby.jdbc.ClientDataSource"

    0 讨论(0)
  • 2020-12-16 03:23

    adding the driver jar file to "{$installation_folder}\NetBeans 8.0.1\ide\modules\ext" fixed the problem for me

    0 讨论(0)
  • 2020-12-16 03:27

    Solved: it was a connection pool issue. Creating a driver one in glassfish admin panel I've got no more problems.

    0 讨论(0)
提交回复
热议问题