wood burning stoves 2.0*
The moose likes Product and Other Certifications and the fly likes Help please: access .xsd inside a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Help please: access .xsd inside a jar" Watch "Help please: access .xsd inside a jar" New topic
Author

Help please: access .xsd inside a jar

Denis Wang
Ranch Hand

Joined: Jan 23, 2004
Posts: 81
Hello, all,
I use the following code to access my schema
URL schemaURL = getClass().getClassLoader().getResource(schemaString);

This code works fine in my IDE. But when i deploy the project and jar up the xsd file, this line returns null.

Any ideas?
thanks a lot!
 
GeeCON Prague 2014
 
subject: Help please: access .xsd inside a jar