You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/12/13 12:22:21 UTC

[GitHub] JevonQ opened a new issue #3186: Can't use jPype on pulsar-client-original.jar

JevonQ opened a new issue #3186: Can't use jPype on pulsar-client-original.jar
URL: https://github.com/apache/pulsar/issues/3186
 
 
   Currently, I'm trying to write some test cases in Python to test against Pulsar cluster via Java driver. I download the jar package from offical website. JPype is used to call Java class in Python, the code is like:
   `PulsarClient_class = jpype.JClass("org.apache.pulsar.client.api.PulsarClient")`
   
   I got the following error:
   `Class PulsarClient is not found.`
   
   Then I realize that jPype might not recognize Java Interface, then I switch to use the Implement class. I wrote the following code:
   `PulsarClient_class = jpype.JClass("org.apache.pulsar.client.impl.PulsarClientImpl")`
   But it seems jpype can not find impl package. Can anyone help on that?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services