twitter-archive / diffy

Find potential bugs in your services with Diffy
https://twitter.com/diffyproject
Apache License 2.0
3.83k stars 368 forks source link

Unable to get started #70

Closed njchandu closed 6 years ago

njchandu commented 6 years ago

This might not be a bug, could be an issue on my env.

I'm getting the below error when trying to launch the example servers.

➜  diffy git:(master) ./example/run.sh start
downloading sbt-launch.jar
➜  diffy git:(master) example/ExampleServers.java:8: error: cannot find symbol
        Thread p = new Thread(() -> ExampleUtils.bind(primary, x -> x.toLowerCase()));
                                    ^
  symbol:   variable ExampleUtils
  location: class ExampleServers
example/ExampleServers.java:9: error: cannot find symbol
        Thread s = new Thread(() -> ExampleUtils.bind(secondary, x -> x.toLowerCase()));
                                    ^
  symbol:   variable ExampleUtils
  location: class ExampleServers
example/ExampleServers.java:10: error: cannot find symbol
        Thread c = new Thread(() -> ExampleUtils.bind(candidate, x -> x.toUpperCase()));
                                    ^
  symbol:   variable ExampleUtils
  location: class ExampleServers
3 errors

I don't see the compilation issues on my IntelliJ though!

Thanks

puneetkhanduri commented 6 years ago

Sorry. A recent change to the example seems to have caused this problem on some environments. We have reverted the change and the latest master should work for you.

njchandu commented 6 years ago

Thanks @puneetkhanduri, works fine now.