Comments (6)
Just for completeness:
- I don't have any firewalls that would play havoc with the external HTTP calls
- my environment:
OS: OSX 10.11.6
$ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
from sparkledriver.
@dotemacs Ok, I was able to reproduce this only with crypto-random
(the other libraries caused no bother). My guess is that crypto-random
pulls in a different version of org.apache.commons.codec.digest.DigestUtils
that doesn't supply the sha1Hex
method, which is causing the jBrowserDriver
's cache implementation to throw a java.lang.NoSuchMethodError
exception.
from sparkledriver.
@jackrusher thanks for that.
Running lein deps :tree
gave me some insight.
Bothring
& compojure
require crypto-random
as a dependency.
But I do experience the failure when I have just ring
or just compojure
included. Not sure why it passes for you.
I wonder what is it that you do or have setup that doesn't trigger this behaviour for ring
& compojure
?
Are you using the example repo that I've quoted above or are you using those libraries in some other project?
Thanks
from sparkledriver.
By adding the following:
[commons-codec "1.7"]
dependency, the tests pass even if you include all three libraries: ring
, compojure
& crypto-random
.
I went with 1.7 as the lowest version that it passed with. Obviously going with a higher version ensures that tests pass also.
Should this be included as a dependency in some way in order to prevent other potential users from stumbling upon this issue ? I'm happy to do a pull request but not sure what you think about it.
Thanks
from sparkledriver.
Or maybe just a note in the README ?
Happy to do the PR whichever way you want to go.
from sparkledriver.
I checked out your repo and just ran lein test
for each combination of deps. No idea why they all fail for you. Do you have something relevant in your ~/.lein/profiles.clj
, maybe?
It looks like the current (highly transitive) dependency for jBrowserDriver is [commons-codec "1.9"]
, so I'd recommend that one in order to avoid any weirdness upstream. I'm not sure about adding it in sparkledriver
, but I would definitely take a PR for the README mentioning the problem/solution.
from sparkledriver.
Related Issues (10)
- screenshot on element (yet) not working HOT 1
- src file missing HOT 4
- Error while running the example HOT 4
- Error : Could not launch browser HOT 5
- close-browser! hangs with multiple windows HOT 1
- Consider tagging releases HOT 2
- Fails when used with lucidity library for clojure HOT 1
- performance HOT 2
- API suggestions HOT 4
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 sparkledriver.