Martin-Narvar opened a new issue, #15791:
URL: https://github.com/apache/pulsar/issues/15791

   ### What issue do you find in Pulsar docs?
   
   The getting started guide doesn't work, and this makes it very hard to get 
off the ground.
   According to https://pulsar.apache.org/docs/2.2.1/client-libraries-java/ I 
just need to add 
   ```xml
   <!-- in your <properties> block -->
   <pulsar.version>2.2.1</pulsar.version>
   
   <!-- in your <dependencies> block -->
   <dependency>
     <groupId>org.apache.pulsar</groupId>
     <artifactId>pulsar-client</artifactId>
     <version>${pulsar.version}</version>
   </dependency>
   ```
   to pom.xml, but when I do this and add a call to 
   ```java
   
PulsarClient.builder().serviceUrl(applicationProperties.getPulsarUrl()).build();
   ```
   The code compiles OK. but I get a `ClassNotFound` error at runtime like this:
   ```
   java.lang.ClassNotFoundException: 
org.apache.pulsar.client.impl.PulsarClientImplementationBindingImpl
   ```
   Which is super unhelpful.
   
   I suppose that there is a piece missing in the getting started page.
   
   ### What is your suggestion?
   
   I have no idea how to fix this, and therefore I can't get off the ground 
with Pulsar at this time. 
   
   ### Do you have any references?
   
   https://pulsar.apache.org/docs/2.2.1/client-libraries-java/
   
   ### Would you like to fix this issue?
   
   I would, but I have no idea where to begin to resolve this.
   
   ### Note
   
   - [X] I have researched my question.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to