NoSuchMethodError: org.eclipse.jetty.websocket.server.WebSocketServerFactory.(Ljavax/servlet/ServletContext;)V

后端 未结 2 497

I have this exception when launching my application via eclipse plugin: \"Run as\" > \"GWT Development Mode with jetty\"

Environment:
- GWT SDK

2条回答
  •  野性不改
    2021-01-19 11:00

    If I upgrade spring-boot version to 1.5.3.RELEASE, it seems to be ok: no such exception appears.

    
     org.springframework.boot
     spring-boot-starter-parent
     1.5.3.RELEASE
    
    

    Nevertheless, an another exception occured:

    ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype
    

    To fix it, I have excluded jetty apache-jsp dependency from gwt-dev dependency

    
      com.google.gwt
      gwt-dev
      provided
      
        
            apache-jsp
            org.eclipse.jetty
        
      
    
    

提交回复
热议问题