没有EntityManager的持久性提供程序名为miageTP13

时间:2016-03-10 10:30:17

标签: jpa persistence-provider

我的数据存在问题。我没看到问题出在哪里。你能救我吗?

Tomcat中的错误:

javax.persistence.PersistenceException: No Persistence provider for EntityManager named miageTP13
    javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
    javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
    dao.impl.TeamDAOImpl.getEntityManager(TeamDAOImpl.java:20)
    dao.impl.TeamDAOImpl.insert(TeamDAOImpl.java:36)
    controller.TeamController.createTeam(TeamController.java:119)

这是如何引起的?如何解决?

0 个答案:

没有答案