[英]Database not found error when i try to connect netbeans into built in java db?
i followed this tutorial to set up a connection to Java DB database in NetBeans IDE.But i am getting database not found error. 我按照本教程在NetBeans IDE中建立了与Java DB数据库的连接。但是我却发现数据库未找到错误。 Here is the snap shoot of the java program.
这是Java程序的快照。
And here is the snap shoot of the database 这是数据库的快照
And here is the snap shoot of the error message 这是错误消息的快照
Change your database connection line 更改您的数据库连接线
Connection conn = DriverManager.getConnection("jdbc:derby:what"); 连接conn = DriverManager.getConnection(“ jdbc:derby:what”);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.