Hi Joakim,

If I change the dependencies to the version-independent WebSocket artifacts I can no longer find class WebSocketAdapter. The ee10 version seems to still have it.



On 10-08-2023 15:41, Joakim Erdfelt wrote:
Inline ...

On Thu, Aug 10, 2023 at 8:16 AM Silvio Bierman <sbier...@jambo-software.com> wrote:

    It is a server side error, the client is my browser on localhost.

    Unfortunately this is not on any form of GIT. Only the (Scala)
    code is in an SVN repo. I left everything mostly as it as in the
    Jetty11 code.

    ...(snip)...

    libraryDependencies += "org.eclipse.jetty.ee10" %
    "jetty-ee10-servlet" % "12.0.0"
    libraryDependencies += "org.eclipse.jetty.ee10.websocket" %
    "jetty-ee10-websocket-jetty-api" % "12.0.0.beta0"
    libraryDependencies += "org.eclipse.jetty.ee10.websocket" %
    "jetty-ee10-websocket-jetty-server" % "12.0.0"
    libraryDependencies += "org.eclipse.jetty.http2" %
    "jetty-http2-server" % "12.0.0"
    libraryDependencies += "org.eclipse.jetty.http3" %
    "jetty-http3-server" % "12.0.0"

    (Note the beta0 on the websocket API, there is no released version
    available yet).


The Jetty WebSocket API is not ee specific.
It was moved to jetty-core around beta1.

https://central.sonatype.com/artifact/org.eclipse.jetty.websocket/jetty-websocket-jetty-api/12.0.0/versions

The server layer exists for all ee# levels.
https://central.sonatype.com/artifact/org.eclipse.jetty.ee10.websocket/jetty-ee10-websocket-jetty-server/12.0.0/versions
https://central.sonatype.com/artifact/org.eclipse.jetty.ee9.websocket/jetty-ee9-websocket-jetty-server/12.0.0/versions
https://central.sonatype.com/artifact/org.eclipse.jetty.ee8.websocket/jetty-ee8-websocket-jetty-server/12.0.0/versions

Even core
https://central.sonatype.com/artifact/org.eclipse.jetty.websocket/jetty-websocket-jetty-server/12.0.0/versions

- Joakim
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to