Jump to content

Recommended Posts

Posted

i have error with stack-trace

  "responseMessage": net.sf.jasperreports.engine.JRRuntimeException: java.util.zip.ZipException: invalid code lengths setntat net.sf.jasperreports.engine.JRPropertiesMap.loadProperties(JRPropertiesMap.java:416)ntat net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:171)ntat net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getRegistries(DefaultExtensionsRegistry.java:138)ntat net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:110)ntat net.sf.jasperreports.engine.DefaultJasperReportsContext.getExtensions(DefaultJasperReportsContext.java:268)ntat net.sf.jasperreports.engine.component.ComponentsEnvironment.findBundles(ComponentsEnvironment.java:109)ntat net.sf.jasperreports.engine.component.ComponentsEnvironment.getCachedBundles(ComponentsEnvironment.java:99)ntat net.sf.jasperreports.engine.component.ComponentsEnvironment.getBundles(ComponentsEnvironment.java:87)ntat net.sf.jasperreports.engine.xml.JRReportSaxParserFactory.getSchemaLocations(JRReportSaxParserFactory.java:93)ntat net.sf.jasperreports.engine.xml.BaseSaxParserFactory.configureParser(BaseSaxParserFactory.java:153)ntat net.sf.jasperreports.engine.xml.BaseSaxParserFactory.createParser(BaseSaxParserFactory.java:108)ntat net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createParser(JRXmlDigesterFactory.java:1596)ntat net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:1565)ntat net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:263)ntat net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:219)ntat net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:194)ntat net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:185)ntat net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:288)ntat net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:575)ntat

 

my code just : JasperReport jasperReport = JasperCompileManager.compileReport(ResourceUtils.getFile(pdfFileTemplate).getAbsolutePath());

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...