Yes, like doing this. The URL is invalid when we convert the String
to URL
. So, I think we can do this, like follows:
String urlString = "vfs:/E:/Servers/jboss7/standalone/deployments/isms.war/WEB-INF/lib/aribaweb.jar/META-INF/aribaweb.properties";
File file = new File(urlString);
URL url = file.toURI().toURL();
Like this. Don't show exception what you say.
Good luck