Why does Java’s URL class not recognize certain protocols?
Issue Java throws a MalformedURLException because it couldn’t find a URLStreamHandler for that protocol. Check the javadocs of the constructors for the details. Summary Since the URL class has an openConnection method, the URL class checks to make sure that Java knows how to open a connection of the correct protocol. Without a URLStreamHandler for … Read more