Exception Description Configuration Error. Class Not Found
Contents |
here for exception description: configuration error. class [com.mysql.jdbc.driver] not found. a quick overview of the site Help Center Detailed answers to
Mysql Connector Jar
any questions you might have Meta Discuss the workings and policies of this site About Us
Mysql-connector-java-
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Exception [EclipseLink-4003] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): up vote 2 down vote favorite 1 I receive exception when my web project tries to connect database. Exception [EclipseLink-4003] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException Exception Description: Configuration error. Class [com.mysql.jdbc.Driver] not found.at org.eclipse.persistence.exceptions.DatabaseException.configurationErrorClassNotFound(DatabaseException.java:82) My persistence.xml is like this:
Comparison Elements Getting Started Videos https://vaadin.com/forum#!/thread/9032987 Demos Docs Community Forum Blog Wiki Meetup Contribute Webinars Services Consulting Support Training Certification Success Stories Pro Tools Designer Charts https://www.eclipse.org/forums/index.php/t/1065151/ TouchKit TestBench Spreadsheet Company Team Contact Us Newsletter Press Partners Jobs Success Stories Vaadin Pro Licenses Bugfix Feature Votes not found Vaadin Pro HB integration Pro Signup Licenses Bugfix Feature Votes I'm sorry, but your browser is not supportedThe version (3.8) of the browser you are using is outdated and not supported.You should consider upgrading to a configuration error. class more up-to-date browser. The most popular browsers are Chrome, Firefox, Internet Explorer, Opera and Safari.Upgrading to the latest version of one of these will make the web safer, faster and better looking.Continue without updating (not recommended) Star This is Tori–an open-source forum portlet for Liferay. Available at GitHub. Framework Demo Learn Documentation Add-ons Tutorials Features Roadmap Elements Getting Started Videos Demos Docs Pro Tools Charts TouchKit TestBench Spreadsheet Designer Download Book Maven Font Icons Community Forum Blog Wiki Meetups Contribute Services Consulting Support Plans Training Certification Company Team Open Positions Contact Us Newsletter Press Releases Partners Success Stories Logo & Trademarks © 2016 Vaadin Ltd. All rights reserved. Terms of Service and Use
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Home Projects Forums 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) Show: Today's Messages :: Show Polls :: Message Navigator Getting Configuration error. Class [drive-class] not found intermittently [message #1690307] Thu, 26 March 2015 13:51 vidya Mising nameMessages: 1Registered: 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. Report message to a moderator Previous Topic:Entity Fetch Graphs Next Topic:Error inserting certain UTF-8 characters into MySql database Goto Forum: - NewcomersNewcomers- Language IDEsAJDTAndmoreC / C++ IDE (CDT)CheJava Development Tools (JDT)ObjectteamsOrionPHP Development Tools (PDT)Eclipse Web Tools Platform Project (WTP)ServerTools (WTP)- ModelingAMPAmalgamB3ATLBPEL DesignerCompareEcore ToolsEMFEMF "Technology" (Ecore Tools, EMFatic, etc) EpsiloneTriceExtended Editing Framework (READ ONLY)Eclipse Generation Factories (EGF)GMF (Graphical Modeling Framework)GMT (Generative Modeling Technologies)GraphitiM2T (model-to-text transformation)MDT (Model Development Tools)Modeling (top-level project)OCLPapyrusTMF (Xtext)UML2UML2 ToolsXSDMoDiscoPresentation Modeling Framework (PMF)SphinxVIATRAModel-to-Model TransformationQVT-OMLQVT-Relati