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
In my case the problem was for another Jar being used named: javax.ws.rs-api-2.0.jar
Removing that jar solved my problem.
The jar that I have used: