confluentinc / demo-scene

👾Scripts and samples to support Confluent Demos and Talks. ⚠️Might be rough around the edges ;-) 👉For automated tutorials and QA'd code, see https://github.com/confluentinc/examples/
https://developer.confluent.io
Apache License 2.0
1.5k stars 896 forks source link

getting-started-with-ccloud-java throw an exception when run `java -cp target/getting-started-with-ccloud-1.0.jar io.confluent.cloud.demo.ProducerApp` #239

Closed xsqian closed 2 years ago

xsqian commented 2 years ago

in this part of the code: https://github.com/confluentinc/demo-scene/tree/master/getting-started-with-ccloud-java when run java -cp target/getting-started-with-ccloud-1.0.jar io.confluent.cloud.demo.ProducerApp it will throw the exception as below: Exception in thread "main" java.lang.NoClassDefFoundError: com/google/protobuf/MessageOrBuilder