Comments (4)
And again this is a problem as of Guava 21-rc1 which now break our Java7 build.
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>[10.+,)</version> <scope>compile</scope> </dependency>
Why not use a specific version?
from guava-retrying.
I suggest changing that compile so only stable versions are used i.e. 19.X, 20.X, without rcX.
Sounds like a good proposal. How about you create a pull request for this?
from guava-retrying.
I hit this same problem yesterday. Tried to build a project under java 7, it pulled in guava-retrying 2.0.0, which in turned pulled in the latest guava 21.0-RC2. The build failed because guava 21.0-RC2 (and 21.0 when it's released - see Guava [Github]) require java 8.
The text on the main page for Guava-retrying is incorrect when it states that pre-req is java 1.6+ - that pre-req can change at any time that the 'latest-release' version of Guava changes.
Strongly recommend putting an upper bound on the Guava dependency, set at a version that supports java 1.6
from guava-retrying.
I have forked this project because this has been a long-standing issue. You can check out the fork at rhuffman/re-retrying, and currently I have released version 3.0.0-rc.1 on the Central Repository.
groupId: tech.huffman.re-retrying
artifactId: re-retrying
version: 3.0.0-rc.1
from guava-retrying.
Related Issues (20)
- Since this project has not been maintained for a long time, I fork this project and fix the problem
- Feature Request: remove final modifier from com.github.rholder.retry.Retryer
- Failed to collect dependencies at com.github.rholder:guava-retrying:jar:2.0.0 HOT 5
- Any interest in a Future's retryer? HOT 2
- Retryer.call should not catch Errors like OOME
- Could I build the Retryer with different executors? HOT 3
- ./gradlew build on macOS Sierra with JDK 1.8 throwing a Java compile error HOT 3
- is there a way to make it log what it's doing? HOT 3
- Is there a way to do this on something that is not a callable? HOT 5
- artifact has a compile time dependency on jsr305
- RetryerBuilder having protected constructor HOT 2
- Project appears to be dead: it has been forked to rhuffman/re-retrying HOT 1
- Initial wait time in an exponential retry strategy. HOT 3
- When i should use Fibonacci WaitStrategy
- When I run demo , when successNum coming my process can not exit immediately
- WaitStrategies documentation should mention milliseconds
- The problem with 'AttemptTimeLimiters.fixedTimeLimit' HOT 2
- doubts about SimpleTimeLimiter has private Constructor,but FixedAttemptTimeLimit new it?
- Bug: StopStrategies&StopStrategies will throw unformatted message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guava-retrying.