我在使用org.apache.derby.jdbc.ClientDataSource
驱动程序的weblogic中使用derby作为数据源。我已使用${WL_HOME}/common/derby/bin/startNetworkServer.sh
数据源正在正确创建,但在获取连接和创建上下文感知功能时,它会抛出class not found错误。
Caused by: java.sql.SQLSyntaxErrorException: The class 'test.vti.VTITest' does not exist or is inaccessible. This can happen if the class is not public.
at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
at org.apache.derby.client.am.Statement.executeUpdate(Unknown Source)
at weblogic.jdbc.wrapper.Statement.executeUpdate(Statement.java:530)
at oracle.essbase.ds.manager.DataSourceManager.createDSView(DataSourceManager.java:340)
at oracle.essbase.ds.manager.DataSourceManager.save(DataSourceManager.java:128)
at test.DSDBTestWS.createDBDS(DSDBTestWS.java:290)
at test.DSDBTestWS.saveDS(DSDBTestWS.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
如何在类路径中包含test.vti.VTITest
以便ClientDataSource
驱动程序可以找到它?