mganta / streaming-data

Connected car example with Kafka, Spark and Solr
3 stars 2 forks source link

Error while executing java -cp #1

Open NIVJAIN opened 7 years ago

NIVJAIN commented 7 years ago

Dear Madhu, i am getting below error while executing the run_producer.sh. i have sucesfully build the project in eclipse via maven and able to generate the car-streaning-data-0.1-jar-with-dependencies.jar file.

java -cp car-streaming-data-0.1-jar-with-dependencies.jar com.example.streaming.CarEventsProducer events_producer.properties 2000 /usr/local/sample_input.txt 3

Picked up _JAVA_OPTIONS: -Xmx2g Error: Could not find or load main class com.example.streaming.CarEventsProducer

Pilar20 commented 6 years ago

Hi @NIVJAIN! Could you solve the problem?