Thanks Russell, I’ve posted it there as well now. If you remember the fix then
let me know!
Cheers
> On 2 Dec 2015, at 17:27, Russell Jurney wrote:
>
> I've seen this before in jruby, but I can't recall the fix. Maybe try the
> JRuby list if nobody knows?
>
> On Wednesday, December 2, 2015,
I've seen this before in jruby, but I can't recall the fix. Maybe try the
JRuby list if nobody knows?
On Wednesday, December 2, 2015, Josh Harrison
wrote:
> Thanks for your help Samarth, unfortunately I’ve still got the same error
> after these steps, to give the full error:
>
> NameError: canno
Thanks for your help Samarth, unfortunately I’ve still got the same error after
these steps, to give the full error:
NameError: cannot link Java class org.apache.phoenix.jdbc.PhoenixDriver,
probable missing dependency: Could not initialize class
org.apache.phoenix.jdbc.PhoenixDriver
Josh,
One step worth trying would be is to register the PhoenixDriver instance
and see if that helps. Something like this:
DriverManager.registerDriver(PhoenixDriver.INSTANCE)
Connection con = DriverManager.getConnection("jdbc:phoenix:localhost:2181”)
- Samarth
On Wed, Dec 2, 2015 at 3:41 PM,
Thanks for your help and quick response Russell. This does seemed to have
progressed things, however I’m now getting the following error:
NameError: cannot link Java class org.apache.phoenix.jdbc.PhoenixDriver,
probable missing dependency: Could not initialize class
org.apache.phoenix.jdbc.Pho
This seems like a class path problem. Try specifying the class path to the
jar with that class in it via: CLASSPATH=/foo/bar.jar jruby ...
On Wednesday, December 2, 2015, Josh Harrison
wrote:
> Hi Guys,
>
> We’re trying to spin up a testing version of Phoenix and integrate it with
> a Jruby on r
Hi Guys,
We’re trying to spin up a testing version of Phoenix and integrate it with a
Jruby on rails application. I have Phoenix and Hbase successfully installed,
configured and talking to each other, but am coming up with a ‘cannot load java
class’ error when trying to make the connection to