Class not found.Įxception in thread "main" : Exception (Eclipse Persistence Services – 2.5.1.v20130918-f2b9fc5): .DatabaseExceptionĪt .Īt .Īt .jpa.EntityManagerFactoryDelegate.ĬreateEntityManagerImpl(EntityManagerFactoryDelegate.java:304)Īt .Īt .Īt .main(JPAImpl.java:9)Ĭaused by: Exception (Eclipse Persistence Services – 2.5.1.v20130918-f2b9fc5): If you have created your database connection and ping it successfully as already made in the article EclipseLink – JPA installation, there are no promises for your project to work. And once you have executed your application you’ve got the exception:Įxception Description: Configuration error.This post will cover a proper way to avoid such that exception can be thrown when a Database Driver is not deducted from the classpath.The major important issue needs to take care of while development of a project using a JPA, is a database driver that can help the JPA communicates with the suggested database. The EclipseLink – JPA API is persistence service that provided a standard way to communicate with the database.
0 Comments
Leave a Reply. |