我使用glassfish-resources.xml指定" jdbc-connection-pool"在glassfish4.1。
我在Eclipse下的maven项目中使用EJB + JSF。
我把glassfish-resources.xml放在" resources / META-INF /"文件夹(在persistence.xml旁边)。
但是在部署时我得到了这个错误:
Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: Failue while processing glassfish-resources.xml(s) in the archive
-- C:\tools\glassfish4\glassfish\domains\domain1\eclipseApps\MyApp-ear\MyApp-web-1.1.24-SNAPSHOT_war\WEB-INF\lib\MyApp-ejb-1.1.24-SNAPSHOT.jarMETA-INF\glassfish-resources.xml (Path not found)