ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer

前端 未结 3 993
旧巷少年郎
旧巷少年郎 2021-01-23 12:24

Hi Guys i am new to maven and webapps, so please bear with me. I have gone through most of the solutions in stack overflow like java.lang.ClassNotFoundException: com.sun.jersey

3条回答
  •  滥情空心
    2021-01-23 13:09

    There seemed to be a version issue. Just change the asm version used in the pom from 3.3.1 to 3.1 and it works.

    
            asm
            asm
            3.1
    
    

    and not

    
            asm
            asm
            3.3.1
    
    

    Output of code

提交回复
热议问题