jesus.castillo Posted November 5, 2015 Share Posted November 5, 2015 I'm trying to use a chart customizer class with JSS 6.1.1. But I can't call it from another java aplication.I added the class to the project in JSS using Project->Properties->Java Build Path->Libraries: Add External JARs.And then in the "Customizer Class" parameter of the BarChart which im trying to customize.When I hit preview in JSS the report is succesfully created, however when I try to generate it from another Java aplication the following error appears " Script Error : net.sf.jasperreports.engine.JRRuntimeException: Could not create chart customizer instance. @ line48: col1"Im using this syntaxis to generate the report (using jasperreports-6.1.0 jar)jasperReport = JasperCompileManager.compileReport(reportSource);jasperPrint = JasperFillManager.fillReport(jasperReport, params, con); Note: when I don't use the customizer class the report generates without problems.The class was created in eclipse using JavaSE-1.7, jasperreports-6.1.0.jar, jcommon-1.0.23.jar, jfreechart-1.0.19-demo.jar Any ideas why this is not working? Link to comment Share on other sites More sharing options...
hozawa Posted November 5, 2015 Share Posted November 5, 2015 You're question is confusing. The title states that you're having problem using Customizer with Jaspersoft Studio but the content says that you're just having problem with your custom code. Link to comment Share on other sites More sharing options...
Solution jesus.castillo Posted November 10, 2015 Author Solution Share Posted November 10, 2015 Rookie mistake. Im new at this. I forgot to add the customizer jar to my java application class path. Link to comment Share on other sites More sharing options...
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