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

java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V #22

Open
GoogleCodeExporter opened this issue Sep 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi,
 I am using selenium-java-2.42.2 with Maven and TestNg.

 I followed all the directions to use Fighting-layout-bugs API.(Followed https://code.google.com/p/fighting-layout-bugs). But when i execute the test it starts and check for sometime and throws the following error.

java.lang.NoSuchMethodError: 
com.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V    at 
com.googlecode.fightinglayoutbugs.ScreenshotCache.readFromFile(ScreenshotCache.j
ava:126)    at 
com.googlecode.fightinglayoutbugs.ScreenshotCache.getScreenshot(ScreenshotCache.
java:85)    at 
com.googlecode.fightinglayoutbugs.WebPage.getScreenshot(WebPage.java:182)   at 
com.googlecode.fightinglayoutbugs.SimpleEdgeDetector.detectHorizontalEdgesIn(Sim
pleEdgeDetector.java:97)    at 
com.googlecode.fightinglayoutbugs.WebPage.getHorizontalEdges(WebPage.java:290)  a
t 
com.googlecode.fightinglayoutbugs.DetectTextNearOrOverlappingHorizontalEdge.find
LayoutBugsIn(DetectTextNearOrOverlappingHorizontalEdge.java:42) at 
com.googlecode.fightinglayoutbugs.FightingLayoutBugs.findLayoutBugsIn(FightingLa
youtBugs.java:185)

I could not find any solution online. Any help would be greatly appreciated.

Original issue reported on code.google.com by sug...@gmail.com on 17 Dec 2014 at 11:43

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

1 participant