1 2 3 Previous Next 34 Replies Latest reply on Nov 25, 2011 1:09 AM by snyder8888 Go to original post
      • 30. Re: Seam Wicket and Servlet
        kariem

        I know I was the one who hijacked this thread and we are on a different subject now, but I thought this was the right place to write this.


        I can reproduce Stephan's problem. Here the dependency:tree output for the jetty profile:


        $ mvn dependency:tree -Pjetty
        ...
        org.jboss.seam.wicket:seam-wicket-example-numberguess:war:3.0.0-SNAPSHOT
        +- org.jboss.seam.wicket:seam-wicket-api:jar:3.0.0-SNAPSHOT:compile
        |  \- org.apache.wicket:wicket:jar:1.4.15:compile
        |     \- org.slf4j:slf4j-api:jar:1.5.10:compile (version managed from 1.5.8)
        +- org.jboss.seam.solder:seam-solder-api:jar:3.0.0.Beta2:provided
        +- org.jboss.seam.solder:seam-solder:jar:3.0.0.Beta2:runtime (scope not updated to compile)
        +- org.jboss.seam.wicket:seam-wicket-mock:jar:3.0.0-SNAPSHOT:test
        +- javax.enterprise:cdi-api:jar:1.0-SP4:provided
        |  +- org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:jar:1.0.0.Final:provided (version managed from 1.0.0.Beta1)
        |  \- javax.inject:javax.inject:jar:1:provided
        +- junit:junit:jar:4.8.1:test
        +- org.jboss.arquillian:arquillian-junit:jar:1.0.0.Alpha4:test
        |  \- org.jboss.arquillian:arquillian-impl-base:jar:1.0.0.Alpha4:test
        |     +- org.jboss.arquillian:arquillian-api:jar:1.0.0.Alpha4:test
        |     |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.0.0-alpha-11:test
        |     +- org.jboss.arquillian:arquillian-spi:jar:1.0.0.Alpha4:test
        |     +- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.0.0-alpha-11:test
        |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.0.0-alpha-11:test
        +- org.jboss.weld.servlet:weld-servlet:jar:1.1.0.Final:compile
        +- org.jboss.spec.javax.annotation:jboss-annotations-api_1.1_spec:jar:1.0.0.Final:provided
        +- org.mortbay.jetty:jetty:jar:6.1.26:compile
        |  +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
        |  \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
        +- org.mortbay.jetty:jsp-2.1-jetty:jar:6.1.26:compile
        |  +- org.eclipse.jdt:core:jar:3.1.1:compile
        |  +- org.mortbay.jetty:jsp-api-2.1-glassfish:jar:2.1.v20091210:compile
        |  +- org.mortbay.jetty:jsp-2.1-glassfish:jar:2.1.v20091210:compile
        |  |  \- org.eclipse.jdt.core.compiler:ecj:jar:3.5.1:compile
        |  \- ant:ant:jar:1.6.5:compile
        +- org.mortbay.jetty:jetty-naming:jar:6.1.26:compile
        |  \- javax.mail:mail:jar:1.4.2:compile (version managed from 1.4)
        \- org.mortbay.jetty:jetty-plus:jar:6.1.26:compile
           \- geronimo-spec:geronimo-spec-jta:jar:1.0.1B-rc4:compile
        



        Any suggestions?


        Kariem

        • 31. Re: Seam Wicket and Servlet

          Kariem,


          you are right, I forgot to add the -Pjetty when running the mvn dependency:tree


          But it is still not working. Even though I noticed that some files changed in github.

          • 32. Re: Seam Wicket and Servlet
            dan.j.allen

            Sorry folks, that was a screwup on my part. I updated the version of Jetty in the seam-parent (from 6.1.21 to 6.1.26), yet the jetty plugin was stuck on 6.1.21. The different versions of Jetty on the classpath were causing this issue.


            Jump back in the ring and try these commands again. This time, I'm sure they'll work :)


            git clone git://github.com/seam/wicket.git
            cd wicket
            mvn install
            cd examples/numberguess
            mvn jetty:run -Pjetty
            
            

            • 33. Re: Seam Wicket and Servlet
              wolverian

              Deploying the numberguess example with no changes to GlassFish 3.1:


              java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder


              Adding a runtime dependency on an implementation of slf4j fixes this. Should this be taken into consideration in the github project? (E.g. perhaps it should have a GF profile?)

              • 34. Re: Seam Wicket and Servlet
                snyder8888

                Why would the files change in github?  That is confusing to me.



                Angela

                1 2 3 Previous Next