facebook

GWT Compile Error in STS Dynamic Web or Maven projects

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #312012 Reply

    davemeurer
    Member

    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

Viewing 1 post (of 1 total)
Reply To: GWT Compile Error in STS Dynamic Web or Maven projects

You must be logged in to post in the forum log in