Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading XML/XSD from inside a jar

843834Nov 28 2006 — edited Nov 28 2006
Hello,

I have a progam that reads xml and xsd archives. Developing with Eclipse, everything works, but when I export the project to a jar file and I execute it, XML and XSD archives can't be read.
The jar is created correctly and the files are inside it. I load the xml with ClassLoader and it return where the file is but when I try to build the Document with SAXBuilder I get a java.io.FileNotFoundException: exception
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 26 2006
Added on Nov 28 2006
1 comment
153 views