我正在尝试使用Eclipse编写Java中的Kafka生产者和消费者代码。 我已经下载了Kafka jar文件并加载为外部Jar文件。它解决了依赖性问题。Eclipse scala.object无法解析
然而,总是有一个未解决的错误和消息看起来像下面:
Multiple markers at this line
- The type scala.Product cannot be resolved. It is indirectly referenced from required .class files
- The type scala.Serializable cannot be resolved. It is indirectly referenced from required .class
files
我真的不知道是怎么回事,如何解决这个问题的错误。谢谢。