SensorReading is already defined as case class SensorReading

问题

运行Flink scala程序时,提示如下错误,但仔细检查SensorReading类的确仅定义了一次。

解决

右击重新编译代码,再运行。


你可能感兴趣的:(SensorReading is already defined as case class SensorReading)