{"id":395,"date":"2010-02-25T14:55:36","date_gmt":"2010-02-25T09:25:36","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=395"},"modified":"2016-12-19T15:19:22","modified_gmt":"2016-12-19T09:49:22","slug":"error-compiling-jrxml-file-with-ireport-2-0-5","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/error-compiling-jrxml-file-with-ireport-2-0-5\/","title":{"rendered":"Error Compiling .jrxml file with iReport 2.0.5"},"content":{"rendered":"<p>Recently I encountered an error , while working\u00a0 on iReports ,<\/p>\n<p>iReport it was not able to compile .jrxml file to generate .jasper file , whilst\u00a0 it used to show\u00a0 compile time.<\/p>\n<p>Error :<\/p>\n<p><code>Compiling to file... .\/&lt;filename&gt;.jasper -&gt; \/usr\/share\/iReport\/bin\/&lt;filename&gt;.java<br \/>\nErrors compiling .\/&lt;filename&gt;.jasper.<br \/>\nnet.sf.jasperreports.engine.JRException:\u00a0Error\u00a0saving\u00a0expressions\u00a0class\u00a0file\u00a0:\u00a0\/usr\/share\/iReport\/bin\/&lt;filename&gt;_1267071292035_83340.java<br \/>\nCompilation running time: 80<\/code><\/p>\n<p>Basically I found two way out this situation<\/p>\n<p>1) Changing permission of  usr\/share\/iReport\/bin\/ directory .<\/p>\n<p>This can be done with CHMOD command<br \/>\nsudo chmod 777 usr\/share\/iReport\/bin<\/p>\n<p>or<\/p>\n<p>2)\u00a0 change the directory where reports are compiled.<\/p>\n<p>________________________<br \/>\nRegards<br \/>\nHitesh Bhatia<br \/>\nhttp:\/\/www.tothenew.com<br \/>\n________________________<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I encountered an error , while working\u00a0 on iReports , iReport it was not able to compile .jrxml file to generate .jasper file , whilst\u00a0 it used to show\u00a0 compile time. Error : Compiling to file&#8230; .\/&lt;filename&gt;.jasper -&gt; \/usr\/share\/iReport\/bin\/&lt;filename&gt;.java Errors compiling .\/&lt;filename&gt;.jasper. net.sf.jasperreports.engine.JRException:\u00a0Error\u00a0saving\u00a0expressions\u00a0class\u00a0file\u00a0:\u00a0\/usr\/share\/iReport\/bin\/&lt;filename&gt;_1267071292035_83340.java Compilation running time: 80 Basically I found two way out this [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":22},"categories":[1],"tags":[169,159],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/395"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=395"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/395\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}