Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25146

Eclipse annotation processing not enabled by default can result in errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.30.x
    • 4.5.0.Final
    • maven
    • None
    • -

      Some of the quickstarts fail with "java.lang.IllegalArgumentException" and "implementation not found" errors. The workaround was to add this property to the project POM file:

          <properties>
              <!--JBEAP-9389 workaround for buggy eclipse -->
              <m2e.apt.activation>jdt_apt</m2e.apt.activation>
          </properties>
      

      These quickstarts needed this workaround:

      • ejb-security-context-propagation/pom.xml
      • ejb-security-interceptors/pom.xml
      • kitchensink-ml/pom.xml
      • kitchensink-ml-ear/pom.xml
      • logging-tools/pom.xml

      Since most of the quickstarts use annotations, it's not clear to me what is different about these other than some use bundles.

      See these bugs for more information about the issue:

              jmaury@redhat.com Jeff MAURY
              sgilda_jira Sande Gilda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: