Java DB位置设置不正确 - netbeans [英] The Java DB location is not set correctly - netbeans

查看:877
本文介绍了Java DB位置设置不正确 - netbeans的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经检查左侧的服务标签,并且没有javaDB在数据库选项,没有什么在那里?我使用的是jsp和beans,有什么我做错了吗?



我得到的信息



当我第一次运行我的jsp时,不能正确设置Java DB位置



解决方案

您必须确保Java DB的路径实际可用!



请执行以下操作:


  1. 点击Windows - 服务

  2. 展开数据库

  3. 选择Java DB

  4. 执行右键单击并选择属性... $ b
  5. 确保位置有效!

路径示例 b
$ b

Java数据库安装:C:\glassfish\glassfish-3.1.2.2\javadb



数据库位置:C: \\Users\YourUsername.netbeans-derby



屏幕截图:




I have checked the services tab to the left and there isn't a javaDB in the database option, there's nothing in there? i'm using jsp's and beans, is there something i'm doing wrong?.

i'm getting the message

The Java DB location is not set correctly

when i run my jsp for the first time.

解决方案

You have to make sure that the paths to the Java DB are actually available!

To do this please do the following:

  1. Click on "Windows" - "Services"
  2. Expand "Databases"
  3. Select "Java DB"
  4. Do a right-click and select "Properties..."
  5. Make sure that the locations are valid!

Sample paths

Java DB Installation: C:\glassfish\glassfish-3.1.2.2\javadb

Database Location: C:\Users\YourUsername.netbeans-derby

Screenshot:

这篇关于Java DB位置设置不正确 - netbeans的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆