Re: Java Vert.x JDBC client runtime load error: Could not load driverClass com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
Posted by: Filipe Silva
Date: July 02, 2020 03:34AM

Hi,

The settings you have in pom.xml are used only by maven and when you use it to build, test or run your code.

Running your application via vertx or java directly requires a proper classpath setting where you point to the jars required by the code.

See also: 2 Setting the Class Path

IHTH

Options: ReplyQuote


Subject
Written By
Posted
Re: Java Vert.x JDBC client runtime load error: Could not load driverClass com.mysql.jdbc.Driver java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
July 02, 2020 03:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.