Closed
Description
Library version is follows:
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>2.0.4</version>
</dependency>
Code is follows:
import io.reactivex.*;
public class HelloWorld {
public static void main(String[] args) {
Flowable.just("Hello world").subscribe(System.out::println);
}
}
error messge is follows:
Error:(12, 15) java: cannot access org.reactivestreams.Publisher
class file for org.reactivestreams.Publisher not found