Unable to find external jars

40 views
Skip to first unread message

kir...@qburst.com

unread,
Dec 2, 2014, 4:07:54 AM12/2/14
to pyjni...@googlegroups.com
Hi,
i am trying to  access classes which are part of external jar in python using pyjnius. Is there any special configuraion step to access external jars. I have put the needed jars in a folder and added that path into the classpath. Adding  trace below.

gudlylab3@gudlylab3-Aspire-4736Z:~/Desktop/pyjnius$ python test.py
Traceback (most recent call last):
  File "test.py", line 2, in <module>
    Calc = autoclass('com.datastax.driver.core.Cluster')
  File "/usr/local/lib/python2.7/dist-packages/jnius/reflect.py", line 150, in autoclass
    c = find_javaclass(clsname)
  File "jnius_export_func.pxi", line 23, in jnius.find_javaclass (jnius/jnius.c:12815)
jnius.JavaException: Class not found 'com/datastax/driver/core/Cluster'

Reply all
Reply to author
Forward
0 new messages