zakato89 Posted September 1, 2022 Share Posted September 1, 2022 Hello to everyone.I'm using Jasper report in my project for creating a report pdf. I created the jrxml file in the jaspersoft studio, but then I compile the report inside my java project and send back the report generated in a html response.My problem is that I use in the report a chart and I need to customize this chart. Using the customization in the Jaspersoft studio is just what I needed, and so Jaspersoft studio has edited my jrxml with these line:<chart> <reportElement x="0" y="0" width="190" height="170" uuid="ef8b3a86-8f4d-4ac5-8680-3741884a0112"> <property name="net.sf.jasperreports.customizer.0.selectionMode" value="allItems"/> <property name="net.sf.jasperreports.customizer.0.allItems" value="true"/> <property name="net.sf.jasperreports.customizer.0.shapeType" value="ellipse"/> <property name="net.sf.jasperreports.customizer.0.shapeWidth" value="5"/> <property name="net.sf.jasperreports.customizer.0.shapeHeight" value="5"/> <property name="net.sf.jasperreports.customizer.class.0" value="net.sf.jasperreports.customizers.shape.LineDotShapeCustomizer"/> </reportElement> <chartTitle/> <chartSubtitle/> <chartLegend/> </chart>If I make a preview in jaspersoft studio is all fine, but when I try to compile the jrxml in my java project it gives me this error: ERROR n.s.j.engine.fill.JRFillSubreport.prepare - Fill 6: exceptionnet.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Class not found when loading object from InputStream.Anyone can help me, please? 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