Getting Configuration error. Class [drive-class] not found intermittently [message #1690307] |
Thu, 26 March 2015 13:51 |
vidya Mising name Messages: 1 Registered: March 2015 |
Junior Member |
|
|
Hi,
I am using EclipseLink with MySQL. I have Junit tests which run fine when I run those through Eclipse individually.
When I run all Junit tests through Maven, sometimes they all work fine.
But sometimes, it gives me following issue -
javax.persistence.PersistenceException: Exception [EclipseLink-4003] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException
Exception Description: Configuration error. Class [drive-class] not found.
at org.eclipse.persistence.exceptions.DatabaseException.configurationErrorClassNotFound(DatabaseException.java:89)
at org.eclipse.persistence.sessions.DefaultConnector.loadDriverClass(DefaultConnector.java:267)
My Problem is i do not understand why only sometimes it does not find the drive-class.
This error comes from eclipse and commandline both.
Important issue is sometimes all tests run fine and sometimes not.
Has anyone faced such issue before?
Any help regarding this issue is appreciated.
|
|
|
Powered by
FUDForum. Page generated in 0.03475 seconds