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

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils #33

Closed
ghost opened this issue Oct 26, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Oct 26, 2017

Hi,
I've imported the jar in my project (automation test on varius site) btw when I call:
Shutterbug.shootPage(driver, ScrollStrategy.BOTH_DIRECTIONS).save();

i receive that errors:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/io/IOUtils
at com.assertthat.selenium_shutterbug.utils.file.FileUtil.getJsScript(FileUtil.java:32)
at com.assertthat.selenium_shutterbug.utils.web.Browser.executeJsScript(Browser.java:193)
at com.assertthat.selenium_shutterbug.utils.web.Browser.getDocWidth(Browser.java:161)
at com.assertthat.selenium_shutterbug.utils.web.Browser.takeScreenshotEntirePage(Browser.java:82)
at com.assertthat.selenium_shutterbug.core.Shutterbug.shootPage(Shutterbug.java:98)
at com.assertthat.selenium_shutterbug.core.Shutterbug.shootPage(Shutterbug.java:72)
at com.assertthat.selenium_shutterbug.core.Shutterbug.shootPage(Shutterbug.java:58)

Can u explain why, so I can fix my code?

Thanks

@glibas
Copy link
Member

glibas commented Oct 26, 2017

Hi, Which version are you using?

@ghost
Copy link
Author

ghost commented Oct 26, 2017 via email

@glibas
Copy link
Member

glibas commented Oct 26, 2017

Just wondering which version of shutterbug are you using? That might be a valid issue which needs fixing

@ghost
Copy link
Author

ghost commented Oct 26, 2017 via email

@glibas
Copy link
Member

glibas commented Dec 4, 2017

Closing, since seems like not an issue any more

@glibas glibas closed this as completed Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant