[英]mysql-connector-java-5.1.23-bin.jar NOT deployed
I am coding my first web app in java and got stuck in db stuff. 我正在用Java编写我的第一个Web应用程序,并陷入了数据库问题。 Followed two tutorials (ref: https://netbeans.org/kb/docs/web/mysql-webapp.html and part1: http://www.javaguicodexample.com/javawebmysqljspjstljsf5.html part2: http://www.javaguicodexample.com/javawebmysqljspjstljsf5_1.html ) and got the same issue regarding db config.
其次两个教程(参考: https://netbeans.org/kb/docs/web/mysql-webapp.html和第1部分: http://www.javaguicodexample.com/javawebmysqljspjstljsf5.html第2部分: HTTP://www.javaguicodexample .com / javawebmysqljspjstljsf5_1.html ),并在数据库配置方面遇到了同样的问题。 Crosschecked multiple times and found that mysql-connector-java-5.1.23-bin.jar is there in the desired path and configured properly but is not deployed on running the app.
多次交叉检查,发现mysql-connector-java-5.1.23-bin.jar在所需的路径中并且已正确配置,但未在运行应用程序时部署。 Due to this getting TABLE/VIEW not found.
由于此原因,找不到TABLE / VIEW。
Kindly help as I am debugging by crosschecking the steps of the provided manuals but its not sufficient. 通过交叉检查所提供手册的步骤,对我的调试工作有所帮助,但这还不够。
If you are receiving "TABLE/VIEW not found" that means application is successful in making database connection. 如果收到“找不到TABLE / VIEW”,则表示应用程序已成功建立数据库连接。 There is no such table/view exists in the database.
数据库中不存在这样的表/视图。
Regarding dependencies, I would suggest to use some build tool like maven or gradle to make sure all dependencies and versions are managed properly 关于依赖关系,我建议使用一些构建工具,例如maven或gradle,以确保正确管理所有依赖关系和版本
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.