Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-2405

RESTEasy: Cannot compile tests in the jms-facade example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP 5.0.0.CR3
    • EAP 5.0.0.CR1
    • RESTEasy
    • None
    • « Hide
      Maven version: 2.0.9
      Java version: 1.6.0_0
      OS name: "linux" version: "2.6.28-13-generic" arch: "amd64" Family: "unix"

      Cannot compile tests in the jms-facade example.

      ,,mvn clean install" in the jms-facade folder

      [INFO] Compiling 4 source files to /home/pslavice/tmp/resteasy/jboss-eap-5.0/resteasy/examples/jms-facade/resteasy-mom-war/target/test-classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /home/pslavice/tmp/resteasy/jboss-eap-5.0/resteasy/examples/jms-facade/resteasy-mom-war/src/test/java/org/jboss/resteasy/mom/test/queue/ContentNegotiationTest.java:[78,36] cannot find symbol
      symbol : method getDispatcher()
      location: class org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer

      /home/pslavice/tmp/resteasy/jboss-eap-5.0/resteasy/examples/jms-facade/resteasy-mom-war/src/test/java/org/jboss/resteasy/mom/test/topic/TopicTest.java:[101,36] cannot find symbol
      symbol : method getDispatcher()
      location: class org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer

      ... and more errs on the same method

      Dependency tree:
      ....[INFO] ------------------------------------------------------------------------
      [INFO] Building Resteasy MOM
      [INFO] task-segment: [dependency:tree]
      [INFO] ------------------------------------------------------------------------
      [INFO] [dependency:tree]
      [INFO] org.jboss.resteasy.mom:resteasy-mom:jar:1.0
      [INFO] +- org.jboss.resteasy:resteasy-jaxrs:jar:1.1.GA:compile
      [INFO] | +- org.jboss.resteasy:jaxrs-api:jar:1.1.GA:compile
      [INFO] | +- org.slf4j:slf4j-api:jar:1.5.8:compile
      [INFO] | +- org.slf4j:slf4j-simple:jar:1.5.8:compile
      [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
      [INFO] | +- org.scannotation:scannotation:jar:1.0.2:compile
      [INFO] | | - javassist:javassist:jar:3.6.0.GA:compile
      [INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
      [INFO] | +- javax.activation:activation:jar:1.1:compile
      [INFO] | - commons-httpclient:commons-httpclient:jar:3.1:compile
      [INFO] | - commons-codec:commons-codec:jar:1.2:compile
      [INFO] +- tjws:webserver:jar:1.3.1:test
      [INFO] +- javax.jms:jms:jar:1.1:provided
      [INFO] +- junit:junit:jar:4.1:test
      [INFO] - javax.servlet:servlet-api:jar:2.5:provided
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Resteasy Mom Webapp
      [INFO] task-segment: [dependency:tree]
      [INFO] ------------------------------------------------------------------------
      [INFO] [dependency:tree]
      [INFO] org.jboss.resteasy.mom:resteasy-mom-war:war:1.0
      [INFO] +- org.jboss.resteasy.mom:resteasy-mom:jar:1.0:compile
      [INFO] | - org.jboss.resteasy:resteasy-jaxrs:jar:1.1.GA:compile
      [INFO] | +- org.jboss.resteasy:jaxrs-api:jar:1.1.GA:compile
      [INFO] | +- org.slf4j:slf4j-api:jar:1.5.8:compile
      [INFO] | +- org.slf4j:slf4j-simple:jar:1.5.8:compile
      [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
      [INFO] | +- org.scannotation:scannotation:jar:1.0.2:compile
      [INFO] | | - javassist:javassist:jar:3.6.0.GA:compile
      [INFO] | +- javax.annotation:jsr250-api:jar:1.0:compile
      [INFO] | +- javax.activation:activation:jar:1.1:compile
      [INFO] | - commons-httpclient:commons-httpclient:jar:3.1:compile
      [INFO] | - commons-codec:commons-codec:jar:1.2:compile
      [INFO] +- javax.servlet:servlet-api:jar:2.5:test
      [INFO] - junit:junit:jar:4.1:test

      Requested method does not exist in the src from resteasy-jaxrs-1.1.GA-src.zip

              patriot1burke@gmail.com Bill Burke (Inactive)
              pslavice@redhat.com Pavel Slavicek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: