l.nunes Posted July 15, 2014 Posted July 15, 2014 Hi all. I have installed JAspersoft Studio Pro 5.6 final on my computer (windows 32 bits version)When I create a report with a HTML5 chart, I systematically got the following compilation error:net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:1. Only a type can be imported. com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl resolves to a packageimport com.jaspersoft.ji.adhoc.service.AdhocEngineServiceImpl; <---------------------------------------------------->1 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204) at net.sf.jasperreports.eclipse.builder.JasperReportCompiler.compileReport(JasperReportCompiler.java:172) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.compileJasperDesign(ReportControler.java:394) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$14(ReportControler.java:382) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$4.run(ReportControler.java:315) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Is any library missing? (I did not change the preinstalled libraries)This also happens when trying to preview reports created from ahdoc view from jasperreport server (also using HTML5 charts)Can anyone help me on that subject?Thanks a lot.
rajesh.sirsikar Posted July 15, 2014 Posted July 15, 2014 Hi,After the error message which you have provided, there will be more lines in the error. Is it something like below.Caused by: com.jaspersoft.jasperreports.license.LicenseExceptionIf yes, then you have a community version not teh pro version of teh software and HTML charts cant be used. Otherwise, if you have a pro version then the Licence has expired.Please check the same.Thanks,Rajesh Sirsikarwww.rajeshsirsikar.com
l.nunes Posted July 15, 2014 Author Posted July 15, 2014 Hi Rajesh I installed the jaspersoft 5 days ago so I do not think this is a license issue.Further more, I copied the entire error message (so no additional lines with the licence exception).Do you think of any other explaination?Thanks again. L.Nunes
rajesh.sirsikar Posted July 15, 2014 Posted July 15, 2014 Hi, Is this a full licensed version of Jaspersoft Studio?? Or community version?? Rajesh
rajesh.sirsikar Posted July 15, 2014 Posted July 15, 2014 Ok...Community version does not have the HTML option itself...So It shd be a licensed version. Hmmm Rajesh
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now