Can’t load JDBC driver ‘com.mysql.cj.jdbc.Driver.class’?
I'm trying to connect Context.xml file to my Demo.java(Servlet) on Eclipse. Cannot load JDBC driver class 'com.mysql.cj.jdbc.Driver.class'. Please let me know where I'm wrong. Please help. Demo.java(servlet) with console Context.xml file mysql-connector jar is added wherever possible. still not able…