JDBC 驱动程序不适用于 Spring Roo 的“org.postgresql.Driver" [英] JDBC driver not available for 'org.postgresql.Driver' for Spring Roo
问题描述
如何获取 JAVA Spring 'org.postgresql.Driver' 的 JDBC 驱动程序?
- 我使用的是终端 UBUNTU 16 LTS
- 我使用的是 Oracle Java8、Spring v4、Spring 启动
- 我的项目是 Spring Roo,有关更多错误详细信息,请参阅此问题
也许答案的线索在这里,但是
.jar 文件在哪里,下载什么?它来自 https://jdbc.postgresql.org/download.html ??>
我把它放在哪里?重命名?是获取/usr/local/pgsql/share/java/postgresql.jar ??
我如何对 UBUNTU 16 LTS 说 postgresql.jar 存在?没有创建 CLASSPATH 或 PATH_TO_TOMCAT\lib 的命令?如何在终端中一步一步完成?
我需要一个虚拟"答案才能在 UBUNTU 终端中逐步查看解决方案.
我刚刚在
回答了你的问题JDBC 驱动程序没有可用于 Spring Roo 上的org.postgresql.Driver"
问题是您需要将 JDBC 驱动程序部署到 Spring Roo shell 中,而不是您的系统中.
希望能帮到你,
How do I obtain a JDBC driver for JAVA Spring 'org.postgresql.Driver'?
- I am using terminal UBUNTU 16 LTS
- I am using Oracle Java8, Spring v4, Spring boot
- my project is Spring Roo, see this question for more error-details
Perhaps clues for answer are here, but
Where is the .jar file, what to download? it is from https://jdbc.postgresql.org/download.html ??
Where do I put it? rename it? is to obtain /usr/local/pgsql/share/java/postgresql.jar ??
How do I say to UBUNTU 16 LTS that postgresql.jar exist? There's no command to create CLASSPATH or PATH_TO_TOMCAT\lib? How to do it in the terminal, step-by-step?
I need a "dummy" answer to see step-by-step, in the UBUNTU terminal, the solution.
I've just answer your question in
JDBC driver not available for 'org.postgresql.Driver' on Spring Roo
The problem is that you need to deploy the JDBC driver into the Spring Roo shell, not in your system.
Hope it helps,
这篇关于JDBC 驱动程序不适用于 Spring Roo 的“org.postgresql.Driver"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!