这是indexloc提供的服务,不要输入任何密码
Skip to content

build failure running 0.9.0-SNAPSHOT using JDK 9 #704

@lwhite1

Description

@lwhite1

I used the instructions from Getting Started.

git clone git://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

and got:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project couchbase2-binding: Compilation failure
[ERROR] /Users/larrywhite/IdeaProjects/YCSB/couchbase2/src/main/java/com/yahoo/ycsb/db/couchbase2/Couchbase2Client.java:[674,12] reference to subscribe is ambiguous
[ERROR] both method subscribe(rx.Observer<? super T>) in rx.Observable and method subscribe(rx.Subscriber<? super T>) in rx.Observable match
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :couchbase2-binding

my platform:

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Java version: 1.9.0-ea, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions