Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Getting Configuration error. Class [drive-class] not found intermittently(Eclipselink Junit maven MySQL)
Getting Configuration error. Class [drive-class] not found intermittently [message #1690307] Thu, 26 March 2015 13:51
vidya Mising name is currently offline vidya Mising nameFriend
Messages: 1
Registered: March 2015
Junior Member

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(
at org.eclipse.persistence.sessions.DefaultConnector.loadDriverClass(

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.
Previous Topic:Entity Fetch Graphs
Next Topic:Error inserting certain UTF-8 characters into MySql database
Goto Forum:

Current Time: Mon Feb 26 22:37:27 GMT 2024

Powered by FUDForum. Page generated in 0.02977 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top