Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

How to add MySql Driver in any Opendaylight bundle/module.

Hi,

I want to save packets details using northbound Apis in Mysql database. For that i add following Dependencies in my pom.xml

<dependency> <groupid>mysql</groupid> <artifactid>mysql-connector-java</artifactid> <version>5.1.32</version> </dependency>

and in one of my java class i used static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";

on mvn clean install my module build perfectly but when my java class receive packets controller log shows java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Help/Suggestion needed.

How to add MySql Driver in any Opendaylight bundle/module.

Hi,

I want to save packets details using northbound Apis in Mysql database. For that i add following Dependencies in my pom.xml

<dependency> <groupid>mysql</groupid> <artifactid>mysql-connector-java</artifactid> <version>5.1.32</version> </dependency>

and in one of my java class i used static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";

on mvn clean install my module build perfectly but when my java class receive packets controller log shows java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Help/Suggestion needed.needed. @Madhu

How to add MySql Driver in any Opendaylight bundle/module.

Hi,

I want to save packets details using northbound Apis in Mysql database. For that i add following Dependencies in my pom.xml

<dependency> <groupid>mysql</groupid> <artifactid>mysql-connector-java</artifactid> <version>5.1.32</version> </dependency>

and in one of my java class i used static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";

on mvn clean install my module build perfectly but when my java class receive packets controller log shows java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Help/Suggestion needed. @Madhu @dfarrell07

How to add MySql Driver in any Opendaylight bundle/module.

Hi,

I want to save packets details using northbound Apis in Mysql database. For that i add following Dependencies in my pom.xml

<dependency> <groupid>mysql</groupid> <artifactid>mysql-connector-java</artifactid> <version>5.1.32</version> </dependency>

and in one of my java class i used static final String JDBC_DRIVER = "com.mysql.jdbc.Driver";

on mvn clean install my module build perfectly but when my java class receive packets controller log shows java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

Help/Suggestion needed. @Madhu @dfarrell07needed.