[
https://jira.codehaus.org/browse/MSELENIUM-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286022#comment-286022
]
Peter Cooper Jr. commented on MSELENIUM-74:
-------------------------------------------
I'm using Maven-Selenium-Plugin 2.1 and attempting to use Selenium 2.15.0 using
the examples Oliver Lamy pointed to (by putting dependencies for
selenium-server, selenium-remote-driver, and selenium-api of version 2.15.0
inside the plugin definition). It seems to loading up Selenium 2.15.0
correctly, but gives the error listed here of java.lang.NoClassDefFoundError:
org/apache/commons/exec/ExecuteWatchdog
So, I think I'm misunderstanding the comment that this is fixed with Selenium
2.14 and up. Do I also need to use Maven-Selenium-Plugin 2.2, as I don't see it
released yet (and I'm not sure how to get a snapshot version of it)?
Thank you.
> Maven Selenium Plugin is missing runtime dependency commons-exec (with fix)_
> ----------------------------------------------------------------------------
>
> Key: MSELENIUM-74
> URL: https://jira.codehaus.org/browse/MSELENIUM-74
> Project: Maven 2.x Selenium Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Rein Krul
> Priority: Critical
> Attachments: pomxml-commons-exec.patch,
> startservermojo-commons-exec.patch
>
>
> The Maven Selenium Plugin is missing runtime dependency commons-exec. The
> following NoClassDefFoundError occurs when invoking selenium:start:
> java.lang.NoClassDefFoundError: org/apache/commons/exec/ExecuteWatchdog
> This can be solved by adding the following dependency to pom.xml:
> <dependency>
> <groupId>org.apache.commons</groupId>
> <artifactId>commons-exec</artifactId>
> <version>1.1</version>
> </dependency>
> And adding the following classpath element in StartServerMojo.groovy,
> somewhere around line 325:
> pathelement(location: pluginArifact('org.apache.commons:commons-exec'))
> Tested with 2.2-SNAPSHOT
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email