我正在 Eclipse 中创建一个简单的 JPA 项目以在 glassfish 上运行。我收到以下错误:
cannot Deploy GuardApplicationEAR
Deployment Error for module: GuardApplicationEAR: Error occurred during deployment: Exception while preparing the app : Invalid resource : jdbc/_default__pm. Please see server.log for more details.
Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method : java.lang.RuntimeException: Invalid resource : jdbc/_default__pm
Invalid resource : jdbc/_default__pm
我没有在我的项目中的任何地方定义 jdbc/ default _pm。有人可以帮忙吗。谢谢。