简体   繁体   中英

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. Here is the snap shoot of the java program.

在此处输入图片说明

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");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM