glassfish
  1. glassfish
  2. GLASSFISH-20173

[SDK]Java EE 7 sample-webSocket-auction

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b82_EE7MS7
    • Fix Version/s: 4.0_b84_RC1
    • Component/s: web_socket
    • Labels:
      None
    • Environment:

      Java ee 7 build 82
      Maven 3.0.3
      Latest build of samples

      Description

      Can not compile and run the sample, there is something wrong with the dependencies?

      Operations:
      1 'mvn clean verify cargo:run'

      Errors:
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1.844s
      [INFO] Finished at: Wed Apr 03 22:40:28 PDT 2013
      [INFO] Final Memory: 12M/210M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (default-compile) on project auction: Compilation failure: Compilation failure:
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/encoders/AuctionMessageEncoder.java:[50,50] error: cannot find symbol
      [ERROR] symbol: class Adapter
      [ERROR] location: interface Encoder
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/decoders/AuctionMessageDecoder.java:[50,50] error: cannot find symbol
      [ERROR] symbol: class Adapter
      [ERROR] location: interface Decoder
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/AuctionServer.java:[66,37] error: incompatible types
      [ERROR] required: Class<? extends Decoder>
      [ERROR] found: Class<AuctionMessageDecoder>
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/AuctionServer.java:[69,37] error: incompatible types
      [ERROR] required: Class<? extends Encoder>
      [ERROR] found: Class<AuctionMessageEncoder>
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/encoders/AuctionMessageEncoder.java:[50,7] error: AuctionMessageEncoder is not abstract and does not override abstract method encode(Object) in Text
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/encoders/AuctionMessageEncoder.java:[52,4] error: method does not override or implement a method from a supertype
      [ERROR] /home/daniel/Oracle_Project/glassfish-samples~svn/trunk/ws/javaee7/websocket/auction/src/main/java/org/glassfish/samples/websocket/auction/decoders/AuctionMessageDecoder.java:[50,7] error: AuctionMessageDecoder is not abstract and does not override abstract method destroy() in Decoder
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

        Issue Links

          Activity

          Hide
          Pavel Bucek added a comment -

          it was not updated to very latest API (released on Tuesday).

          should be fixed in few hours.

          Show
          Pavel Bucek added a comment - it was not updated to very latest API (released on Tuesday). should be fixed in few hours.
          Hide
          Pavel Bucek added a comment -

          fixed in the glassfish-samples trunk.

          Show
          Pavel Bucek added a comment - fixed in the glassfish-samples trunk.

            People

            • Assignee:
              Pavel Bucek
              Reporter:
              Daniel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: