Added java connector/j dependency in the pom.xml.