You need to add the driver jar to WEB-INF/lib
in your Tomcat application / war file.
"Class.forName("org.mariadb.jdbc.Driver");"can not work
문제
i work on ubuntu with java EE-Eclipse ,tomcat and mariadb.i have written a test class and when i run as java application,it can connect to mariadb.but when i test in servlet and run on tomcat server,this line "Class.forName("org.mariadb.jdbc.Driver");"dosen't work...i don't know why and can not solve this problem.help!help!
해결책
제휴하지 않습니다 StackOverflow