2 Replies Latest reply on Feb 21, 2018 3:27 AM by Sanjay Sanjay

    Spring Boot Jersey and Jboss Deployment problem

    Sanjay Sanjay Newbie

       

      I got following error initially

      Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host.\"/SpringBoot-Jersey-0.0.1-SNAPSHOT\"" => "java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer Caused by: java.lang.RuntimeException: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer Caused by: java.lang.ClassCastException: org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to io.undertow.websockets.jsr.ServerWebSocketContainer"}}

       

      then i added this  and got following error ,

      <dependency>

             <artifactId>tomcat-embed-websocket</artifactId>

             <groupId>org.apache.tomcat.embed</groupId>

            <scope>provided</scope>

      </dependency>

       

       

      Cannot upload deployment: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host.\"/SpringBoot-Jersey-0.0.1-SNAPSHOT\"" => "java.lang.IllegalArgumentException: RESTEASY003900: Unable to find a public constructor for provider class com.frugalis.SpringBootJersey.JerseyConfig Caused by: java.lang.IllegalArgumentException: RESTEASY003900: Unable to find a public constructor for provider class com.frugalis.SpringBootJersey.JerseyConfig"}}

       

      I am not able to run my ened points due to this error . i am using wildfly 10 .