sansadjadee / fighting-layout-bugs

Automatically exported from code.google.com/p/fighting-layout-bugs
Apache License 2.0
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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