Hi,
You cannot simply construct a File from a given pathnam ein order to load a file which is
packaged within a jar file.
Take a look at this page on accessing resources:
http://java.sun.com/j2se/1.4.2/docs/guide/resources/resources.html
You should try:
URL url = Classloader.getResource( "report.jrxml" );
Regards,
Colin E.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028862#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...