Can I connect to a MySQL db with JSP through another class?
Here's my own suggestion: When I do this, I get a lot of errors and exceptions, in which I also found: Which means it It should be that there is no MySQL driver in it. But I have imported the mysql driver, so I do not know that it should usually be imported in any other way. any suggestion? Ensure that WEB-INF / lib is the folder of your application , As long as there exists, this problem should not come up. ...
ClassNotFound ,
NullPointer etc.
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
No comments:
Post a Comment