// register some schemes
FileURIResolver files = new FileURIResolver();
resolverRegistry.registerInputOutput(files);
HttpURIResolver http = new HttpURIResolver();
resolverRegistry.registerInput(http);
//added
HttpsURIResolver https = new HttpsURIResolver();
resolverRegistry.registerInput(https);