java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;

后端 未结 4 1128
无人共我
无人共我 2020-12-15 05:57

I am unable to find answer through the following links

One Two Three

Following is my pom.xml dependency


        <         


        
4条回答
  •  悲哀的现实
    2020-12-15 06:38

    It can be solved by excluding the jar as defined below, as JSR jar is conflicting with JAX-RS and creating the above error

    
     javax.ws.rs
     jsr311-api
     1.1
     provided
    
    

    Please remove it and run, it worked for me and i hope it will work for u too.

提交回复
热议问题