Java, JPA, Glassfish, Invalid resource : jdbc/__default__pm

后端 未结 8 963
不知归路
不知归路 2020-12-02 17:32

I use Glassfish 3.1.2.2 (build 5), JPA, EclipseLink, MySQL

I created MySQL pool via Glassfish admin panel. Ping to MySQL from GF admin panel is ok.

I created

8条回答
  •  囚心锁ツ
    2020-12-02 17:46

    I had the same problem when I run/deploy an app on a server created by netbeans instalattion wizard.

    To solve I downloaded the last glassfish version from official site and went to: Netbeans > "Service's Tab" > "Servers" > "Add Server...".

    Remember to change your project configurations to use the new glassfish server instance.

提交回复
热议问题