• Post Reply Bookmark Topic Watch Topic
  • New Topic

URI http "Provider "http" not found"  RSS feed

 
Miguel Callejón
Greenhorn
Posts: 22
4
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to create an URI instance using http, https or ftp, I get the same exception:


"XX" being http, https or ftp, whatever I am using. Only file:// works fine.
My code:

I found this same question on StackOverflow (without answers).
Any help would be appreciated. I guess it was asked before, but I couldn't find it.
Thank you!
 
Roel De Nijs
Sheriff
Posts: 11338
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably only a provider exists out of the box for the default FileSystem (identified by the URI scheme "file"). If you want another URI scheme to work (like "http"), you must develop a Custom File System Provider for this file system.
 
Miguel Callejón
Greenhorn
Posts: 22
4
Android Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:Probably only a provider exists out of the box for the default FileSystem (identified by the URI scheme "file"). If you want another URI scheme to work (like "http"), you must develop a Custom File System Provider for this file system.

Thank you, Roel. I'll stick to file for now and I will try to create a new provider later.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!