[英].jar file for postgreSQL JDBC driver. How to configure?
I am trying to create a connection for the JDBC driver in netbeans for windows. 我正在尝试为Windows的netbeans中的JDBC驱动程序创建连接。 THe problem is that i cannot make a domain source name with the .jar file provided from
http://jdbc.postgresql.org/download.html
问题是我无法使用从
http://jdbc.postgresql.org/download.html
提供的.jar文件制作域名源名称
Can anyone help? 有人可以帮忙吗?
What you need to do to configure the PostgreSQL JDBC drivers is clearly documented in sections 2 and 3 of The PostgreSQL JDBC Interface . 《 PostgreSQL JDBC接口》的第2和第3节清楚地记录了配置PostgreSQL JDBC驱动程序所需的操作。
This covers: 这包括:
If you have a specific question that is not covered by the manual, please update your Question. 如果您有手册未涵盖的特定问题,请更新您的问题。
If you are making web project then here is a project structure: 如果您正在制作Web项目,那么这里是一个项目结构:
TOMCAT_HOME
-webapps
-YourProject
-WEB_INF
-lib
Now in lib folder you can have all the jars file used by that project. 现在,在lib文件夹中,您可以拥有该项目使用的所有jar文件。
By adding files in TOMCAT_HOME/lib
you make jars available to all projects on that server. 通过在
TOMCAT_HOME/lib
添加文件,可以使jars对于该服务器上的所有项目可用。 I mean all project deployed on that tomcat. 我的意思是所有在该tomcat上部署的项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.