If trying to compile GWT, and you receive the following error:
[ERROR] Unexpected
java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:310)…
It’s more than likely a known issue with the jasper jars order.
To fix:
– Right-click the project > Properties
– Java Build Path > Order and Export
– Move the GWT SDK above the Server Library (like Apache Tomcat or SpringSource tc Server)
In Maven, just remove the 2.0.5 jasperreports dependency block and all should work.
Kind regards,
Dave