org.glassfish.jersey.internal.RuntimeDelegateImpl NOT FOUND

后端 未结 6 2061
暗喜
暗喜 2020-12-29 20:20

I am using jersey for my project and tring to parse a URI from a string.

UriBuilder.fromUri(\"http://localhost:8000\").build();

The code is

6条回答
  •  天命终不由人
    2020-12-29 20:57

    If you're using Maven, use the following dependency:

    
        org.glassfish.jersey.core
        jersey-common
        2.22.2
        test
    
    

    For Gradle, the following will work:

    testCompile 'org.glassfish.jersey.core:jersey-common:2.22.2'
    

提交回复
热议问题