Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4133

Lombok generated getters and setters not identified by STS

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Support
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 3.6.3.RELEASE
    • None
    • EDITING, MAVEN
    • Windows 7 Professional - SP1, JDK 1.7.0_45, 4GB RAM; Eclipse Kepler with JBoss Fuse Tooling installed on top of it.

    Description

      The Lombok is installed as per the steps mentioned in the website of projectlombok. The following entry is available in STS.in after installation of lombok.jar by running it -
      -vmargs
      -javaagent:lombok.jar

      I have added -Xbootclasspath/a:lombok.jar along with the above and exited STS manually.

      A simple java project with Lombok is working fine with no Eclipse's compilation or Maven compilation.
      I have a project where it has Maven Aspect plugin with maven compiler plugin for the project. The classes that call the methods (Getter/Setters) generated shows compilation errors on the IDE editor. However, clicking of the method directs to the @Data or @Getter declaration.

      Attachments

        1. about_STS_lombok.jpg
          107 kB
          Karthik R
        2. lombok_project_screenshot.jpg
          134 kB
          Karthik R
        3. STS.ini
          1 kB
          Karthik R

        Activity

          People

            mlippert Martin Lippert
            karthik20 Karthik R
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: