As a information I changed the dependency in pom.xml to this one:
...
<dependency>
<groupId>org.apache.geronimo.testsupport</groupId>
<artifactId>testsupport-selenium</artifactId>
<version>2.1.3</version>
</dependency>
...
And it worked now. The only thing is the testng.jar that I don´t
wanna. But it is not a problem in the moment.
On 17 jun, 14:16, Josué <[email protected]> wrote:
> Hi Salvador,
>
> Sorry for this late response. I tried your suggestion, but the problem
> remains.
>
> Thanks anyway,
>
> Josué.
>
> On 12 maio, 17:25, Salvador Diaz <[email protected]> wrote:
>
> > Hi Josué,
>
> > I recommend you learn more about dependecy management with maven as
> > the problem your facing is easily solvable once you've understood how
> > it works.
>
> > Anyway, the solution to your problem is excluding the conflicting
> > jetty dependency in your pom. Replace your selenium import with the
> > following:
>
> > <dependency>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>selenium-maven-plugin</artifactId>
> > <version>1.0-beta-3</version>
> > <scope>test</scope>
> > <exclusions>
> > <exclusion>
> > <groupId>jetty</groupId>
> > <artifactId>org.mortbay.jetty</artifactId>
> > </exclusion>
> > </exclusions>
> > </dependency>
>
> > Hope that helps,
>
> > Salvador
>
> > On May 12, 4:58 pm, Josué <[email protected]> wrote:
>
> > > Hi,
>
> > > I have the same problem here but the suggestion did not worked to me.
> > > Here is my scenario:
>
> > > I have a pom.xml (maven) in which most (but not all) project´s
> > > dependencies are placed. When i put the following, the problem
> > > appears:
> > > ...
> > > <dependency>
> > > <groupId>org.codehaus.mojo</groupId>
> > > <artifactId>selenium-maven-plugin</artifactId>
> > > <version>1.0-beta-3</version>
> > > <scope>test</scope>
> > > </dependency>
> > > ...
> > > In the moment the only jar that is not in the pom.xml is gwt-user.jar.
> > > There is no available maven repository (at least the ones showed in
> > > the search inside eclipse). I did as suggested here and my Order and
> > > Export is in this way:
>
> > > gwt-user.jar
> > > projectName/src
> > > projectName/test
> > > JRE System Library [jre6]
> > > JUnit 4
> > > Maven Dependencies
>
> > > And all other jars is inside Maven Dependencies. Any suggestions would
> > > be very appreciated.
>
> > > Abraços,
>
> > > Josué.
>
> > > On 13 abr, 22:02, grishag <[email protected]> wrote:
>
> > > > Thanks for that. You were right on the money. I had a Selenium jar on
> > > > the classpath that was causing this problem.
>
> > > > On Apr 10, 11:48 am, jvictor <[email protected]> wrote:
>
> > > > > If using Eclipse, try moving the GWT jars (or the GWT SDK library if
> > > > > you are using the new Eclipse plugin) to the top of your classpath
> > > > > order.
>
> > > > > Right Click Project -> Properties -> Java Build Path -> Order and
> > > > > Export
>
> > > > > On Mar 27, 5:42 pm,grishag<[email protected]> wrote:
>
> > > > > > Hi,
>
> > > > > > I started using GWT 1.6.1 M2 recently and things were going quite
> > > > > > smoothly until I tried using hosted mode (with -noserver option). I
> > > > > > am
> > > > > > now getting the following exception. Does anyone know what this
> > > > > > actually means? As far as I can tell, HashSessionManager does
> > > > > > implemented SessionManager interface (that is indirectly by
> > > > > > extending
> > > > > > the AbstractSessionManager class).
>
> > > > > > Thanks.
>
> > > > > > [java] Exception in thread "main"
> > > > > > java.lang.IncompatibleClassChangeError: Class
> > > > > > org.mortbay.jetty.servlet.HashSessionManager does not implement the
> > > > > > requested interface org.mortbay.jetty.SessionManager
> > > > > > [java] at
> > > > > > org.mortbay.jetty.servlet.SessionHandler.setSessionManager
> > > > > > (SessionHandler.java:88)
> > > > > > [java] at org.mortbay.jetty.servlet.SessionHandler.<init>
> > > > > > (SessionHandler.java:62)
> > > > > > [java] at org.mortbay.jetty.servlet.SessionHandler.<init>
> > > > > > (SessionHandler.java:53)
> > > > > > [java] at org.mortbay.jetty.webapp.WebAppContext.<init>
> > > > > > (WebAppContext.java:297)
> > > > > > [java] at com.google.gwt.dev.ServletValidator.create
> > > > > > (ServletValidator.java:59)
> > > > > > [java] at com.google.gwt.dev.ServletValidator.create
> > > > > > (ServletValidator.java:43)
> > > > > > [java] at com.google.gwt.dev.HostedMode.doStartup
> > > > > > (HostedMode.java:344)
> > > > > > [java] at com.google.gwt.dev.HostedModeBase.startUp
> > > > > > (HostedModeBase.java:583)
> > > > > > [java] at com.google.gwt.dev.HostedModeBase.run
> > > > > > (HostedModeBase.java:395)
> > > > > > [java] at
> > > > > > com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---