Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hystrix using archaius-core instead of archaius2-core #1395

Closed
martosoler opened this issue Oct 19, 2016 · 4 comments
Closed

Hystrix using archaius-core instead of archaius2-core #1395

martosoler opened this issue Oct 19, 2016 · 4 comments

Comments

@martosoler
Copy link

I'm making a POC of Netflix Hystrix in our project and I received this exception:

java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException

This class belongs to commons-lang-2.6 jar but in our project we are using comons-lang3-3.4.
By other hand, archaius-core depends on commons-lang-2.6 but the second version (archaius2-core) depends on commons-lang3.

Is there any plan to release a version of Hystrix which depends on archaius2-core?

Thanks

@mattrjacobs
Copy link
Contributor

We do eventually plan to get Hystrix working with Archaius2, but have not had cycles to do this work. See #252. This ends up being quite a large change, as some Archaius1 classes are exposed as public, so this necessitates a Hystrix 2.0 release.

@martosoler
Copy link
Author

So, basically what you're saying is that I need to stick to commons-lang-2.6 if I want to use Hystrix?

I was able to make it working with archaius2-core by just dropping the right jars but I think this won't be acceptable in our project.

Thanks for the quick response

@mattrjacobs
Copy link
Contributor

I don't know how hard the dependency of Archaius is on commons-lang, but I suspect pinning commons-lang to 2.6 should work.

@mattrjacobs
Copy link
Contributor

Closing this, as it's a duplicate of #252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants