Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] No Persistence provider for EntityManager - Error when using EclipseLink

Hi everybody,


I have tried to switch my application from Toplink Essentials to
Eclipselink, but it currently doesn't work.

After replacing the jar library and doing the necessary changes in
persistence.xml and source code I always get an

Exception in thread "main" javax.persistence.PersistenceException: No
Persistence provider for EntityManager named default
	at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89)
	at com.emd.testpersistence.MyEntityManager.main(MyEntityManager.java:89)


Thx for help,
Alex
-- 
View this message in context: http://www.nabble.com/No-Persistence-provider-for-EntityManager---Error-when-using-EclipseLink-tp15975711p15975711.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top