LiveLessons icon indicating copy to clipboard operation
LiveLessons copied to clipboard

Does not build out of box on mac

Open powder366 opened this issue 5 years ago • 2 comments

gradle build :compileJava :processResources UP-TO-DATE :classes :jar :assemble :compileTestJava /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:34: error: cannot find symbol private static class Producer<BQ extends BoundedQueue<Integer>> ^ symbol: class BoundedQueue location: class BuggyQueueTest /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:68: error: cannot find symbol private static class Consumer<BQ extends BoundedQueue<Integer>> ^ symbol: class BoundedQueue location: class BuggyQueueTest /oreilly/JavaConcurrency-2:e/LiveLessons/BuggyQueue/src/test/java/edu/vandy/BuggyQueueTest.java:141: error: cannot find symbol final BuggyQueue<Integer> buggyQueue = ^ symbol: class BuggyQueue location: class BuggyQueueTest /Users/jonas/source/courses new BuggyQueue<>(sQUEUE_SIZE); ^ symbol: class BuggyQueue location: class BuggyQueueTest 4 errors :compileTestJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compileTestJava'.

Compilation failed; see the compiler error output for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.519 secs


Using:

[521] → gradle --version


Gradle 3.0

Build time: 2016-08-15 13:15:01 UTC Revision: ad76ba00f59ecb287bd3c037bd25fc3df13ca558

Groovy: 2.4.7 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_121 (Oracle Corporation 25.121-b13) OS: Mac OS X 10.15.1 x86_64

powder366 avatar Nov 21 '19 17:11 powder366

Thanks - I think I've fixed this and have pushed the updates!

douglascraigschmidt avatar Nov 21 '19 21:11 douglascraigschmidt

Works now. Thanks for responding so quickly.

powder366 avatar Nov 22 '19 11:11 powder366