Reputation: 29
When i press the button designed to create the report, in the PC on which i developed is ok, on another is ok, on another one it gives me the error:
net.sf.jasperreports.engine.JRException: Error compiling report java source files : C:.....\file_1188085947562_837366.java
I read, on stackoverflow too, that a fix is to include Jasper-jdt-compiler.jar
, but in my downloaded zip of jasperproject
there is no such jar, where can i find it? And why it is not present? Jasper project downloaded is version 6.1.0
Upvotes: 2
Views: 4003
Reputation: 11
I'm also faced to this error after build .jar file. I fixed this problem by copy jdt-compiler-3.1.1.jar file to /dist/bin folder. Try this!
Upvotes: 1
Reputation: 21710
I have done some investigations into this question. The org.eclipse compiler was once called jtd-compiler, but in latest jasper report relase it is called
ecj-4.3.1.jar
So it is still included in jasper project/lib, but with another name
Have fun
Upvotes: 3