更新时间:2023-11-22 15:04:10
通过JDBC网址,它看起来像您正在尝试连接到Derby服务器而不是嵌入式实例。如果您尝试连接到服务器实例,请注意以下几点:
By the JDBC url, it's looks like you're trying to connect to a Derby server vs. an embedded instance. If you are trying to connect to a server instance, here are some considerations:
示例:jdbc:derby:// localhost: 1527 / dbname; create = true
example: jdbc:derby://localhost:1527/dbname;create=true
基本上你得到的例外是Derby说它无法找到你的数据库 - 它基本上是路径问题。
Basically the exception you're getting is that Derby's saying it can't find your database - it's basically a path issue.