当前位置: 代码迷 >> J2EE >> Could not open JPA EntityManager for transaction解决方案
  详细解决方案

Could not open JPA EntityManager for transaction解决方案

热度:1566   发布时间:2016-04-17 23:34:18.0
Could not open JPA EntityManager for transaction
 Could not open JPA EntityManager for transaction; nested exception is <openjpa-1.2.2-r422266:898935 fatal user error> org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property.
这个问题  搞了好半天 啊  没有解决啊
------解决思路----------------------
检查一下 数据源 配置, 看你的异常应该是 使用 JTA 事物 ,容器没有实例化 EntityManager  
  相关解决方案