This repository has been archived by the owner on Mar 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Previous working project cannot be compiled on 1.8 #13
Comments
Hi, This could be a bug in jasperreport 5.5.1 (see http://community.jaspersoft.com/jasperreports-library/issues/3301-0). <plugin>
<groupId>com.alexnederlof</groupId>
<artifactId>jasperreports-plugin</artifactId>
<version>1.8</version>
<configuration>
</configuration>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
</plugin> Cheers, |
I can confirm this workaround works for me. |
I can't reproduce the error. Can either of you open a PR with the fix? If its confirmed, I'm happy to make a new release for you guys. Adding the dependency in the plug-in should be no problem. |
I'll make a new release myself. I trust you've tested it. |
Released as 1.9 |
Thank you, Alex! I can confirm that 1.9 work like a charm in my project! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[ERROR] Failed to execute goal com.alexnederlof:jasperreports-plugin:1.8:jasper (compile-jasperreports-reports) on project xyz-webapp: Error while compiling Jasper reports: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.web.util.WebResourceHandlersExtensionRegistryFactory -> [Help 1]
Change plugin version from 1.8 to 1.7, and everything works fine again.
The text was updated successfully, but these errors were encountered: