Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jasperreports-pdf-7.0.0.jar!/jasperreports_extension.properties net.sf.jasperreports.engine.JRRuntimeException: Class net.sf.jasperreports.pdf.PdfExtensionsRegistryFactory does not implement/extend net.sf.jasperreports.extensions.ExtensionsRegistryFactory. #499

Open
dVenkatNaveen opened this issue Nov 27, 2024 · 4 comments

Comments

@dVenkatNaveen
Copy link

I am getting the below error while export PDF. Using jasperreport in module 6.7.0 which gets bundle inside the car file.
PDF export successfully but throws this error on log.

but its pointing my sever/lib which has jasperreport 7.0.0

jasperreports-pdf-7.0.0.jar!/jasperreports_extension.properties
net.sf.jasperreports.engine.JRRuntimeException: Class net.sf.jasperreports.pdf.PdfExtensionsRegistryFactory does not implement/extend net.sf.jasperreports.extensions.ExtensionsRegistryFactory.

@dVenkatNaveen
Copy link
Author

lib/jasperreports-pdf-7.0.0.jar!/jasperreports_extension.properties
net.sf.jasperreports.engine.JRRuntimeException: Class net.sf.jasperreports.pdf.PdfExtensionsRegistryFactory does not implement/extend net.sf.jasperreports.extensions.ExtensionsRegistryFactory.
at net.sf.jasperreports.engine.util.ClassUtils.instantiateClass(ClassUtils.java:65)

lib/jasperreports-charts-7.0.0.jar!/jasperreports_extension.properties
net.sf.jasperreports.engine.JRRuntimeException: Class net.sf.jasperreports.charts.ChartsExtensionsRegistryFactory does not implement/extend net.sf.jasperreports.extensions.ExtensionsRegistryFactory.
at net.sf.jasperreports.engine.util.ClassUtils.instantiateClass(ClassUtils.java:65)

lib/jasperreports-charts-7.0.0.jar!/jasperreports_extension.properties
net.sf.jasperreports.engine.JRRuntimeException: Class net.sf.jasperreports.jackson.util.JacksonMappingExtensionsRegistryFactory does not implement/extend net.sf.jasperreports.extensions.ExtensionsRegistryFactory.
at net.sf.jasperreports.engine.util.ClassUtils.instantiateClass(ClassUtils.java:65)

    its throwing for all the jars that is there in my server/lib

@teodord
Copy link
Collaborator

teodord commented Nov 27, 2024

I don't understand what "module 6.7.0" means and how it is bundled in a car file.
But you probably have a mixture of JasperReports versions in your application.

I hope this helps.
Teodor

@dVenkatNaveen
Copy link
Author

@teodord Thanks for the response.
In our module pom i am using jasper 6.7.0 beacause it as dependency on dynamicreports for exporting pdf and excel related task. In other project/module i am using jasper 7.0.0 for other related task.

How do i mitigate this error because that in the project we use older jasper for pdf etc and newer jasper doesnt come into picture here still throws for new version of jasper.

@dVenkatNaveen
Copy link
Author

and also any plans for newer dynamicreports release compatiable with new jasperreport 7.0.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants