glassfish
  1. glassfish
  2. GLASSFISH-19859

4.0 SDK: Unable to compile Websocket Samples

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0_b79
    • Fix Version/s: 4.0_b80_EE7MS6
    • Component/s: web_socket
    • Labels:
      None
    • Environment:

      Description

      Seeing the following error when executing "mvn install" in each of the Samples folders for auction sample, draw sample, echo sample. For example the error below is for the "echo" sample, but the same error is seen on all 3 samples.

      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[42,22] error: cannot find symbol
      [ERROR] symbol: class WebSocketMessage
      location: package javax.websocket
      /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[43,29] error: cannot find symbol
      [ERROR] symbol: class DefaultServerConfiguration
      location: package javax.websocket.server
      /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[44,29] error: cannot find symbol
      [ERROR] symbol: class WebSocketEndpoint
      location: package javax.websocket.server
      /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[51,1] error: cannot find symbol
      [ERROR] symbol: class WebSocketEndpoint
      /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[67,5] error: cannot find symbol
      [INFO] 5 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2.108s
      [INFO] Finished at: Wed Mar 13 08:48:18 PDT 2013
      [INFO] Final Memory: 12M/212M

        Activity

        Hide
        Alex Pineda added a comment -

        Issue is resolved with javaee_sdk build 80. Verified fix. Please update the bug accordingly.

        Show
        Alex Pineda added a comment - Issue is resolved with javaee_sdk build 80. Verified fix. Please update the bug accordingly.

          People

          • Assignee:
            dannycoward
            Reporter:
            Alex Pineda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: