javax.servlet.ServletException: Not running on Jetty, JSR-356 support unavailable

前端 未结 2 1107
清歌不尽
清歌不尽 2020-12-19 06:38

I am facing a problem while deploying a war on to tomcat instance,

Tomcat version details,

D:\\Kiran\\Kiran\\Softwares DH\\Webservers\\apache-tomcat-         


        
2条回答
  •  有刺的猬
    2020-12-19 07:08

    The problem is identified to be confusion over the websocket jars of tomcat and my application jars. I have removed it from the war file and it started working,

    I used maven plug in to remove the jars as below,

    
        org.apache.maven.plugins
        maven-war-plugin
        
            WEB-INF/lib/websocket-*.jar
        
    
    

    The jars which were creating problem are,

提交回复
热议问题