karurkarthi / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Problem When creating runnable jar file #256

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I am getting following exception when I run my application from executable jar.
fr.opensagres.xdocreport.core.XDocReportException: Null template engine. Set 
template engine with IXDocReport#setTemplateEngine.

I have all the required libraries in my classpath and application works 
perfectly when I run it through IDE.

Problem occurs when I create runnable jar file in eclipse using option extract 
required libraries in to jar option.

Thanks,
Priyanka

Original issue reported on code.google.com by davepriy...@gmail.com on 13 May 2013 at 6:44

GoogleCodeExporter commented 9 years ago
Hi Priyanka,

If I understand you try to download JARs from the XDocReport sources?
If it that, why do you build yourself teh JARs? Check that META-INF/services* 
files are included in your built JARs.

Regards Angelo

Original comment by angelo.z...@gmail.com on 13 May 2013 at 2:37

GoogleCodeExporter commented 9 years ago
Hello Angelo,

Thanks for looking into issue.

I am not downloading jar from xdocreport sources.I have them in my
classpath and I am building runnable jar from eclipse using extract
required libraries option.I have
fr.opensagres.xdocreport.template.velocity-1.0.0.jar and velocity.jar in my
classpath still I am gettting exception when I try to run application using
jar.

Original comment by davepriy...@gmail.com on 14 May 2013 at 8:15

GoogleCodeExporter commented 9 years ago
Hi Priyanka,

I have never played with runnable jar. Is it possible to attach your runnable 
jar?

Regards Angelo

Original comment by angelo.z...@gmail.com on 14 May 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Hello Angelo,

The size of jar file is too big and cant attache here.

I am trying to generate the runnable jar in some other way.

Thanks for your time.

Original comment by davepriy...@gmail.com on 15 May 2013 at 5:38

GoogleCodeExporter commented 9 years ago
I close this issue because we have not enough info to help Priyanka.

Original comment by angelo.z...@gmail.com on 28 May 2013 at 7:15

GoogleCodeExporter commented 9 years ago
cleanup

Original comment by pascal.leclercq on 10 Oct 2014 at 7:37