Fork me on GitHub
#ring
<
2024-03-14
>
kirill.salykin09:03:58

hi I've update to the latest ring (1.12) and suddenly I see weird error when I am starting up the server

; (out) :cockpit.handler.cockpit-api/T #error {
; (out)  :cause "org.eclipse.jetty.util.Trie"
; (out)  :via
; (out)  [{:type java.lang.NoClassDefFoundError
; (out)    :message "org/eclipse/jetty/util/Trie"
; (out)    :at [org.eclipse.jetty.http2.hpack.HpackFieldPreEncoder getEncodedField "HpackFieldPreEncoder.java" 79]}
; (out)   {:type java.lang.ClassNotFoundException
; (out)    :message "org.eclipse.jetty.util.Trie"
; (out)    :at [jdk.internal.loader.BuiltinClassLoader loadClass "BuiltinClassLoader.java" 641]}]
; (out)  :trace
; (out)  [[jdk.internal.loader.BuiltinClassLoader loadClass "BuiltinClassLoader.java" 641]
; (out)   [jdk.internal.loader.ClassLoaders$AppClassLoader loadClass "ClassLoaders.java" 188]
; (out)   [java.lang.ClassLoader loadClass "ClassLoader.java" 525]
; (out)   [org.eclipse.jetty.http2.hpack.HpackFieldPreEncoder getEncodedField "HpackFieldPreEncoder.java" 79]
; (out)   [org.eclipse.jetty.http.PreEncodedHttpField  "PreEncodedHttpField.java" 105]
; (out)   [org.eclipse.jetty.http.PreEncodedHttpField  "PreEncodedHttpField.java" 111]
; (out)   [org.eclipse.jetty.http2.hpack.HpackEncoder  "HpackEncoder.java" 81]
; (out)   [org.eclipse.jetty.http2.hpack.HpackFieldPreEncoder getEncodedField "HpackFieldPreEncoder.java" 49]
; (out)   [org.eclipse.jetty.http.PreEncodedHttpField  "PreEncodedHttpField.java" 105]
; (out)   [org.eclipse.jetty.http.PreEncodedHttpField  "PreEncodedHttpField.java" 111]
; (out)   [org.eclipse.jetty.http.MimeTypes$Type  "MimeTypes.java" 91]
; (out)   [org.eclipse.jetty.http.MimeTypes$Type  "MimeTypes.java" 49]
; (out)   [org.eclipse.jetty.http.MimeTypes lambda$static$0 "MimeTypes.java" 169]
; (out)   [org.eclipse.jetty.util.Index$Builder withAll "Index.java" 346]
; (out)   [org.eclipse.jetty.http.MimeTypes  "MimeTypes.java" 166]
; (out)   [org.eclipse.jetty.server.handler.ContextHandler doStart "ContextHandler.java" 884]
; (out)   [org.eclipse.jetty.servlet.ServletContextHandler doStart "ServletContextHandler.java" 306]
; (out)   [org.eclipse.jetty.util.component.AbstractLifeCycle start "AbstractLifeCycle.java" 93]
; (out)   [org.eclipse.jetty.util.component.ContainerLifeCycle start "ContainerLifeCycle.java" 171]
; (out)   [org.eclipse.jetty.server.Server start "Server.java" 470]
; (out)   [org.eclipse.jetty.util.component.ContainerLifeCycle doStart "ContainerLifeCycle.java" 114]
; (out)   [org.eclipse.jetty.server.handler.AbstractHandler doStart "AbstractHandler.java" 89]
; (out)   [org.eclipse.jetty.server.Server doStart "Server.java" 415]
; (out)   [org.eclipse.jetty.util.component.AbstractLifeCycle start "AbstractLifeCycle.java" 93]
; (out)   [ring.adapter.jetty$run_jetty invokeStatic "jetty.clj" 321]
clj -Stree | grep jetty                                                                                                                                                                                                                                                    130 ↵ kirill@kirills-mbp
  . ring/ring-jetty-adapter 1.12.0
    . org.eclipse.jetty/jetty-server 11.0.20
      . org.eclipse.jetty/jetty-http 11.0.20
        . org.eclipse.jetty/jetty-io 11.0.20
        . org.eclipse.jetty/jetty-util 11.0.20
      . org.eclipse.jetty/jetty-io 11.0.20
        . org.eclipse.jetty/jetty-util 11.0.20
      . org.eclipse.jetty.toolchain/jetty-jakarta-servlet-api 5.0.2
    . org.eclipse.jetty.websocket/websocket-jetty-server 11.0.20
      . org.eclipse.jetty/jetty-servlet 11.0.20
        . org.eclipse.jetty/jetty-security 11.0.20
          . org.eclipse.jetty/jetty-server 11.0.20
      . org.eclipse.jetty/jetty-webapp 11.0.20
        . org.eclipse.jetty/jetty-servlet 11.0.20
        . org.eclipse.jetty/jetty-xml 11.0.20
          . org.eclipse.jetty/jetty-util 11.0.20
      . org.eclipse.jetty.toolchain/jetty-jakarta-servlet-api 5.0.2
      . org.eclipse.jetty.websocket/websocket-jetty-api 11.0.20
      . org.eclipse.jetty.websocket/websocket-jetty-common 11.0.20
        . org.eclipse.jetty.websocket/websocket-core-common 11.0.20
          . org.eclipse.jetty/jetty-http 11.0.20
          . org.eclipse.jetty/jetty-io 11.0.20
        . org.eclipse.jetty.websocket/websocket-jetty-api 11.0.20
      . org.eclipse.jetty.websocket/websocket-servlet 11.0.20
        . org.eclipse.jetty/jetty-servlet 11.0.20
        . org.eclipse.jetty.websocket/websocket-core-server 11.0.20
          . org.eclipse.jetty/jetty-server 11.0.20
          . org.eclipse.jetty.websocket/websocket-core-common 11.0.20
And I dont see any deps issues... please advice where I can look further

kirill.salykin09:03:53

ah, nvm there was another dep in test alias