Skip to content

Front page HelloWorld example does not work out of the box #5014

Closed
@dims12

Description

@dims12

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions