Glassfish 3.1 - 找不到javadb客户端

时间:2012-04-04 09:28:01

标签: eclipse glassfish-3 derby

在eclipse中,如何在启动这样的应用程序时删除该警告消息

....
Properties p = new Properties();
p.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
p.setProperty("java.naming.provider.url", "localhost:3700");
Context context = new InitialContext(p);
....

04-avr.-2012 11:23:39 com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default.

1 个答案:

答案 0 :(得分:1)

“javadb客户端jar文件”名为“derbyclient.jar”,您应该将其作为javadb安装的一部分找到,或者您可以从http://db.apache.org/derby

获取它