I have some code that functions fine when run as simple java app with a
main method:
 
   URL url =
XsdDeconstructor.class.getClassLoader().getResource(xsdFile);
   XSDHelper.INSTANCE.define(url.openStream(), url.toString());

But when I try to run it within a web app (on Websphere Test Environment
i Rational 7) I get the following:
 
java.lang.IllegalArgumentException: resolve against non-hierarchical or
relative base
at org.eclipse.emf.common.util.URI.resolve(URI.java:1853)
 
Any ideas?
 
 
/Christian
 
 

Reply via email to