murpha Posted February 16, 2019 Posted February 16, 2019 My server is bit.heliohost.org. I just got verified java on my johnny server and now I am using something I have tested on my localhost computer, and which works. I haveClass.forName("com.mysql.jdbc.Driver");and<%@page import="java.sql.*" %>.I have the error:java.lang.ClassNotFoundException: com.mysql.jdbc.Driver.How do I solve this problem? I cannot access WEB_INF in my ftp client either, so I cannot add my mysql/J connector in the library either.
Krydos Posted February 16, 2019 Posted February 16, 2019 You need to put WEB-INF/lib/mysql-connector-java-8.0.15.jar or whichever version of the mysql-connector you're using.
murpha Posted February 17, 2019 Author Posted February 17, 2019 I cannot access WEB_INF:ftp> cd WEB_INF550 Can't change directory to WEB_INF: No such file or directory
murpha Posted February 17, 2019 Author Posted February 17, 2019 I have, then, it is the same error again, nothing changed.
Krydos Posted February 17, 2019 Posted February 17, 2019 Did you place the .jar? It won't start working until tomcat restarts.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now